summaryrefslogtreecommitdiff
path: root/vcl/osx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx')
-rw-r--r--vcl/osx/DragSource.cxx4
-rw-r--r--vcl/osx/DropTarget.cxx4
-rw-r--r--vcl/osx/a11ylistener.cxx2
-rw-r--r--vcl/osx/a11ywrapper.mm2
-rw-r--r--vcl/osx/clipboard.cxx4
5 files changed, 8 insertions, 8 deletions
diff --git a/vcl/osx/DragSource.cxx b/vcl/osx/DragSource.cxx
index 6fa4b9d12f4d..11ba53d9ee6c 100644
--- a/vcl/osx/DragSource.cxx
+++ b/vcl/osx/DragSource.cxx
@@ -54,12 +54,12 @@ NSView* DragSource::g_DragSourceView = nil;
bool DragSource::g_DropSuccessSet = false;
bool DragSource::g_DropSuccess = false;
-OUString dragSource_getImplementationName()
+static OUString dragSource_getImplementationName()
{
return OUString("com.sun.star.comp.datatransfer.dnd.OleDragSource_V1");
}
-Sequence<OUString> dragSource_getSupportedServiceNames()
+static Sequence<OUString> dragSource_getSupportedServiceNames()
{
return { OUString("com.sun.star.datatransfer.dnd.OleDragSource") };
}
diff --git a/vcl/osx/DropTarget.cxx b/vcl/osx/DropTarget.cxx
index 4d99f3c69982..c294a3157f46 100644
--- a/vcl/osx/DropTarget.cxx
+++ b/vcl/osx/DropTarget.cxx
@@ -44,12 +44,12 @@ using namespace com::sun::star::uno;
using namespace com::sun::star;
using namespace comphelper;
-OUString dropTarget_getImplementationName()
+static OUString dropTarget_getImplementationName()
{
return OUString("com.sun.star.comp.datatransfer.dnd.OleDropTarget_V1");
}
-Sequence<OUString> dropTarget_getSupportedServiceNames()
+static Sequence<OUString> dropTarget_getSupportedServiceNames()
{
return { OUString("com.sun.star.datatransfer.dnd.OleDropTarget") };
}
diff --git a/vcl/osx/a11ylistener.cxx b/vcl/osx/a11ylistener.cxx
index 7bb794f65b27..b8220c07d933 100644
--- a/vcl/osx/a11ylistener.cxx
+++ b/vcl/osx/a11ylistener.cxx
@@ -35,7 +35,7 @@ using namespace ::com::sun::star::awt;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
-NSString * getTableNotification( const AccessibleEventObject& aEvent )
+static NSString * getTableNotification( const AccessibleEventObject& aEvent )
{
AccessibleTableModelChange aChange;
NSString * notification = nil;
diff --git a/vcl/osx/a11ywrapper.mm b/vcl/osx/a11ywrapper.mm
index f2f6148acc4b..92ccc7c750fe 100644
--- a/vcl/osx/a11ywrapper.mm
+++ b/vcl/osx/a11ywrapper.mm
@@ -972,7 +972,7 @@ static std::ostream &operator<<(std::ostream &s, NSObject *obj) {
return hit;
}
-Reference < XAccessibleContext > hitTestRunner ( css::awt::Point point,
+static Reference < XAccessibleContext > hitTestRunner ( css::awt::Point point,
Reference < XAccessibleContext > const & rxAccessibleContext ) {
Reference < XAccessibleContext > hitChild;
Reference < XAccessibleContext > emptyReference;
diff --git a/vcl/osx/clipboard.cxx b/vcl/osx/clipboard.cxx
index c31fd9fa491e..1e055100eed8 100644
--- a/vcl/osx/clipboard.cxx
+++ b/vcl/osx/clipboard.cxx
@@ -66,12 +66,12 @@ using namespace comphelper;
@end
-OUString clipboard_getImplementationName()
+static OUString clipboard_getImplementationName()
{
return OUString("com.sun.star.datatransfer.clipboard.AquaClipboard");
}
-Sequence<OUString> clipboard_getSupportedServiceNames()
+static Sequence<OUString> clipboard_getSupportedServiceNames()
{
return { OUString("com.sun.star.datatransfer.clipboard.SystemClipboard") };
}