summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-10-08 17:40:35 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-10-08 23:50:29 +0200
commit8bfdb0a48d474f9288fcc368000c90bffbea6506 (patch)
treee309143cde437fe89b1a49766a74ee6243d1d529 /vcl/osx
parented654adf92eab0cd21744fbfbfe54ff6d42bed87 (diff)
loplugin:external
Change-Id: I31bf0f87cb66ac19dfa49566e9a190c8af8d408e Reviewed-on: https://gerrit.libreoffice.org/80486 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/saldata.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/osx/saldata.cxx b/vcl/osx/saldata.cxx
index 8fda9e6f5fdf..ef46d6f4aa60 100644
--- a/vcl/osx/saldata.cxx
+++ b/vcl/osx/saldata.cxx
@@ -121,6 +121,7 @@ void SalData::ensureThreadAutoreleasePool()
}
}
+namespace {
NSImage* load_icon_by_name(const OUString& rIconName)
{
@@ -141,6 +142,8 @@ NSImage* load_icon_by_name(const OUString& rIconName)
return image;
}
+}
+
#define MAKE_CURSOR( vcl_name, name, name2 ) \
case vcl_name: \
aHotSpot = NSPoint{name##curs_x_hot, name##curs_y_hot}; \