On Wed, 2010-11-17 at 18:12 -0500, Kevin Hunter wrote:
Hullo List,
Is there a reason for lines that look like this?
[...]
/*N*/ String aGraphicId( rGraphicId );
/*N*/ BfGraphicObject aGrfObject( ByteString( aGraphicId,
RTL_TEXTENCODING_ASCII_US ) );
/*N*/
/*N*/ maTmp.EnableKillingFile();
/*N*/
/*N*/ if( aGrfObject.GetType() != GRAPHIC_NONE )
/*N*/ {
[...]
The code is compiled, but what was the initial reason to have them in there?
To continue to be able to import/export the older native binary format,
which was closely connected to the old internal layout and structure of
the apps, but to allow decoupling of the apps from the older formats the
decision was made to create the binfilter as effectively copies of the
old sw/sd/starmath/sc apps, except stripped down to the bare minimum to
import and export the binary file formats and convert to/from the XML
file format.
So those /*N*/ comments mean something like "I think this is Necessary"
while there will be other places with e.g. /*?*/ meaning "Dunno, maybe
necessary"
C.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.