summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-09-18 10:39:46 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-09-18 14:41:57 +0200
commite19a21add0d1f559edc28451eddeb11335cffd21 (patch)
treeaeace52937023e7a36b81f9203af8b072d88c1ca /fpicker
parent738bcd238297966de197c02efc95554a08b16c9e (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 'fpicker')
-rw-r--r--fpicker/source/aqua/resourceprovider.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/aqua/resourceprovider.mm b/fpicker/source/aqua/resourceprovider.mm
index 49009ca16136..1f07273da954 100644
--- a/fpicker/source/aqua/resourceprovider.mm
+++ b/fpicker/source/aqua/resourceprovider.mm
@@ -75,7 +75,7 @@ Entry const CtrlIdToResIdTable[] = {
const sal_Int32 SIZE_TABLE = SAL_N_ELEMENTS( CtrlIdToResIdTable );
-const char* CtrlIdToResId(sal_Int32 aControlId)
+static const char* CtrlIdToResId(sal_Int32 aControlId)
{
const char *pResId = nullptr;
@@ -93,7 +93,7 @@ const char* CtrlIdToResId(sal_Int32 aControlId)
namespace CResourceProvider_Impl
{
- NSString* getResString(sal_Int16 aId)
+ static NSString* getResString(sal_Int16 aId)
{
OUString aResString;