Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


05.02.2012 23:37, Chr. Rossmanith пишет:
I've moved them to a method ResData2Output(). Please review.

Looks nice. All of the differences seem to be handled...

Oh, oh, oh! No, we must pass all the different values as paramerers to the function.

Because it was

if ( pEntry && pResData->bText ) {
...
}
if ( pEntry && pResData->bQuickHelpText ) {
...
}
if ( pEntry && pResData->bTitle ) {
...
}

, but not "if - else if - else if"; and thus nType and sOutput will be always the same in these 3 calls to ResData2Output.

I'm sorry...

Ivan

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.