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

Kristian Rietveld kris at lanedo.com
Sat Oct 22 02:45:08 PDT 2011


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)



regards,

-kris.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0005-Use-NSString-in-template-specification-instead-of-ob.patch
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20111022/e5ed9232/attachment.txt>


More information about the LibreOffice mailing list