[Libreoffice] [PATCH] [PUSHED] Use NSString in template specification instead of objc_object (in macosxspell)

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


On 10/22/2011 11:45 AM, Kristian Rietveld wrote:
> This fixes the following warnings:
>
> /source/libo/libo/lingucomponent/source/spellcheck/macosxspell/macspellimp.cxx:176:39:
>
> error: reference to type 'const value_type' (aka 'objc_object *const')
> could not bind to an rvalue of type 'id'
> postspdict.push_back( [ aLocales objectAtIndex:i ] );
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /Developer/SDKs/MacOSX10.6.sdk/usr/include/c++/4.2.1/bits/stl_vector.h:600:35:
>
> note: passing argument to parameter '__x' here
> push_back(const value_type& __x)

pushed

Stephan


More information about the LibreOffice mailing list