[Libreoffice] [PATCH] SystemFlavor NSStrings should not be const (in vcl/aqua/.../dtrans/)
Kristian Rietveld
kris at lanedo.com
Sat Oct 22 02:43:47 PDT 2011
This fixes an issue where const NSString* is assigned to a non-const
NSString* field in FlavorMap. The NSString cannot be const when passed
to an objective-C method expecting a non-const value (the NSStrings from
flavor map are passed to such methods elsewhere in the code). Also, if
you want to modify the actual string contents, you need to use
NSMutableString anyway.
regards,
-kris.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0004-SystemFlavor-NSStrings-should-not-be-const.patch
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111022/8bf43b58/attachment.asc>
More information about the LibreOffice
mailing list