This should be a const NSString* so that we can pass such variables to it
Change-Id: I017c100f83faac64ad3a8430010c226b438e6a07 Reviewed-on: https://gerrit.libreoffice.org/56529 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <tml@collabora.com>
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#include <rtl/ustring.hxx>
|
||||
|
||||
OUString GetOUString( CFStringRef );
|
||||
OUString GetOUString( NSString* );
|
||||
OUString GetOUString( const NSString* );
|
||||
CFStringRef CreateCFString( const OUString& );
|
||||
NSString* CreateNSString( const OUString& );
|
||||
|
||||
|
@@ -55,7 +55,7 @@ OUString GetOUString( CFStringRef rStr )
|
||||
return aRet;
|
||||
}
|
||||
|
||||
OUString GetOUString( NSString* pStr )
|
||||
OUString GetOUString( const NSString* pStr )
|
||||
{
|
||||
if( ! pStr )
|
||||
{
|
||||
|
Reference in New Issue
Block a user