[Libreoffice-commits] core.git: vcl/inc vcl/quartz
Tor Lillqvist
tml at collabora.com
Wed Jun 27 15:18:18 UTC 2018
vcl/inc/quartz/utils.h | 2 +-
vcl/quartz/utils.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit fa7ebc82bbcee15cd75b42d1e7b8ef66ed719225
Author: Tor Lillqvist <tml at collabora.com>
Date: Wed Jun 27 16:38:55 2018 +0300
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 at collabora.com>
diff --git a/vcl/inc/quartz/utils.h b/vcl/inc/quartz/utils.h
index 57a0402bc644..2452c151d28e 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 2a65acd0af2f..80c773889d2d 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 )
{
More information about the Libreoffice-commits
mailing list