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>
diff --git a/vcl/inc/quartz/utils.h b/vcl/inc/quartz/utils.h
index 57a0402..2452c15 100644
--- a/vcl/inc/quartz/utils.h
+++ b/vcl/inc/quartz/utils.h
@@ -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& );
diff --git a/vcl/quartz/utils.cxx b/vcl/quartz/utils.cxx
index 2a65acd..80c77388 100644
--- a/vcl/quartz/utils.cxx
+++ b/vcl/quartz/utils.cxx
@@ -55,7 +55,7 @@ OUString GetOUString( CFStringRef rStr )
return aRet;
}
OUString GetOUString( NSString* pStr )
OUString GetOUString( const NSString* pStr )
{
if( ! pStr )
{