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 <[email protected]> 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 <[email protected]> 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 ) { _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
