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

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


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

pushed

Stephan


More information about the LibreOffice mailing list