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


After much digging around, I've come to the conclusion that at some time
in the past the SID_DOC_MODIFIED property could be basically anything,
especially a string, e.g. "*" to indicate a modified doc. Then probably
there was some clean up to give it a Boolean modified/unmodified state,
with most things unified behind SvxModifyControl::RegisterControl

There was one probably unconverted remnant in basctl where a String of
"*" means modified and "" means unmodified. Which triggered a sad state
of asserts and dodgy casts which I've now fixed.

What remains is one non Boolean SID_DOC_MODIFIED in sw of

SfxStringItem( SID_DOC_MODIFIED, ' ' )

I wonder if ' ' attempts to indicate a modified document, or an
unmodified document ? I'm guessing a hold-over from a character-based
interface where ' ' overwrites a '*' and it might indicate an unmodified
document. It happens after a sw's "Save", which would fit with that.

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.