[Libreoffice] [PATCH] Argument to setTitle cannot be const (in fpicker/aqua)

Kristian Rietveld kris at lanedo.com
Sat Oct 22 02:41:16 PDT 2011


This fixes the following warning:

/source/libo/libo/fpicker/source/aqua/ControlHelper.cxx:244:39: error:
cannot initialize a parameter of type 'NSString *' with an lvalue of type
'const NSString *'

I did not see another solution so quickly than removing const. Also, if
you want to modify the actual string contents, you need to use 
NSMutableString anyway.


(Please keep me on CC as I am not subscribed to this list).

regards,

-kris.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0003-Argument-to-setTitle-cannot-be-const.patch
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111022/02ed3f8e/attachment.txt>


More information about the LibreOffice mailing list