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:
Tor Lillqvist
2018-06-27 16:38:55 +03:00
parent a29b101897
commit fa7ebc82bb
2 changed files with 2 additions and 2 deletions

View File

@@ -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& );

View File

@@ -55,7 +55,7 @@ OUString GetOUString( CFStringRef rStr )
return aRet;
}
OUString GetOUString( NSString* pStr )
OUString GetOUString( const NSString* pStr )
{
if( ! pStr )
{