diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-09-18 10:39:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-09-18 14:41:57 +0200 |
commit | e19a21add0d1f559edc28451eddeb11335cffd21 (patch) | |
tree | aeace52937023e7a36b81f9203af8b072d88c1ca /shell | |
parent | 738bcd238297966de197c02efc95554a08b16c9e (diff) |
loplugin:external (macOS)
Change-Id: Ib06572a844d2999e9ecd91e26abd98ecec06a0ae
Reviewed-on: https://gerrit.libreoffice.org/60665
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/backends/macbe/macbackend.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/backends/macbe/macbackend.mm b/shell/source/backends/macbe/macbackend.mm index 1ed71f1c4e36..59c34daad271 100644 --- a/shell/source/backends/macbe/macbackend.mm +++ b/shell/source/backends/macbe/macbackend.mm @@ -156,7 +156,7 @@ MacOSXBackend* MacOSXBackend::createInstance() return new MacOSXBackend; } -rtl::OUString CFStringToOUString(const CFStringRef sOrig) { +static rtl::OUString CFStringToOUString(const CFStringRef sOrig) { CFRetain(sOrig); CFIndex nStringLen = CFStringGetLength(sOrig)+1; @@ -171,7 +171,7 @@ rtl::OUString CFStringToOUString(const CFStringRef sOrig) { return rtl::OUString::createFromAscii(sBuffer); } -rtl::OUString GetOUString( NSString* pStr ) +static rtl::OUString GetOUString( NSString* pStr ) { if( ! pStr ) return rtl::OUString(); |