[Libreoffice] [PATCH] [PUSHED] SystemFlavor NSStrings should not be const (in vcl/aqua/.../dtrans/)

Stephan Bergmann sbergman at redhat.com
Mon Oct 24 08:35:53 PDT 2011


On 10/22/2011 11:43 AM, Kristian Rietveld wrote:
> 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.

pushed

Stephan


More information about the LibreOffice mailing list