summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2015-12-27 11:23:39 +0100
committerJulien Nabet <serval2412@yahoo.fr>2015-12-27 11:23:39 +0100
commit4d6742f644970e24dfda7dded9cf63ebeb6c9644 (patch)
tree66ec03f2791a9903b3d4029dee7ec3a005f363ee /vcl
parent451f359023c681a91dbb232a5ea3fffb12c964bc (diff)
loplugin:staticmethods
Change-Id: Ib62fd2a6f4c27c6e891f3bb74d120f415d6b54f5
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/salinst.h2
-rw-r--r--vcl/unx/generic/gdi/salvd.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/unx/salinst.h b/vcl/inc/unx/salinst.h
index b650ea008458..f651fa296dbf 100644
--- a/vcl/inc/unx/salinst.h
+++ b/vcl/inc/unx/salinst.h
@@ -56,7 +56,7 @@ public:
virtual void DestroyObject( SalObject* pObject ) override;
/// Gtk vclplug needs to pass GtkSalGraphics to X11SalVirtualDevice, so create it, and pass as pNewGraphics.
- SalVirtualDevice* CreateX11VirtualDevice(SalGraphics* pGraphics, long &nDX, long &nDY,
+ static SalVirtualDevice* CreateX11VirtualDevice(SalGraphics* pGraphics, long &nDX, long &nDY,
DeviceFormat eFormat, const SystemGraphicsData* pData, X11SalGraphics* pNewGraphics);
virtual SalVirtualDevice* CreateVirtualDevice( SalGraphics* pGraphics,
diff --git a/vcl/unx/generic/gdi/salvd.cxx b/vcl/unx/generic/gdi/salvd.cxx
index 97b1d3be778b..72f968335db5 100644
--- a/vcl/unx/generic/gdi/salvd.cxx
+++ b/vcl/unx/generic/gdi/salvd.cxx
@@ -35,7 +35,7 @@
#include <vcl/opengl/OpenGLHelper.hxx>
#include <opengl/x11/salvd.hxx>
-SalVirtualDevice* X11SalInstance::CreateX11VirtualDevice(SalGraphics* pGraphics,
+static SalVirtualDevice* X11SalInstance::CreateX11VirtualDevice(SalGraphics* pGraphics,
long &nDX, long &nDY, DeviceFormat eFormat, const SystemGraphicsData *pData,
X11SalGraphics* pNewGraphics)
{