summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-11-15 08:54:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-15 11:20:02 +0100
commit5b51b98b668925f955d50d0fe796762ee05eb487 (patch)
tree7f534edd3dcb35272e697f5626476668caec9349 /vcl/inc
parent843fa5ff69f2bc502a6fa35878104d067b2a1e77 (diff)
loplugin:staticmethods in vcl
Change-Id: I00333677db711761510a35dfae5ce70d61fb9491 Reviewed-on: https://gerrit.libreoffice.org/63397 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/font/OpenTypeFeatureDefinitonList.hxx2
-rw-r--r--vcl/inc/fontinstance.hxx2
-rw-r--r--vcl/inc/salinst.hxx2
-rw-r--r--vcl/inc/unx/glyphcache.hxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/font/OpenTypeFeatureDefinitonList.hxx b/vcl/inc/font/OpenTypeFeatureDefinitonList.hxx
index 740043bbff56..01fbf6bfc091 100644
--- a/vcl/inc/font/OpenTypeFeatureDefinitonList.hxx
+++ b/vcl/inc/font/OpenTypeFeatureDefinitonList.hxx
@@ -31,7 +31,7 @@ private:
void init();
static bool isSpecialFeatureCode(sal_uInt32 nFeatureCode);
- FeatureDefinition handleSpecialFeatureCode(sal_uInt32 nFeatureCode);
+ static FeatureDefinition handleSpecialFeatureCode(sal_uInt32 nFeatureCode);
public:
OpenTypeFeatureDefinitonListPrivate();
diff --git a/vcl/inc/fontinstance.hxx b/vcl/inc/fontinstance.hxx
index 5e1d70ad9600..58bcd07927a0 100644
--- a/vcl/inc/fontinstance.hxx
+++ b/vcl/inc/fontinstance.hxx
@@ -84,7 +84,7 @@ protected:
virtual bool ImplGetGlyphBoundRect(sal_GlyphId, tools::Rectangle&, bool) const = 0;
// Takes ownership of pHbFace.
- hb_font_t* InitHbFont(hb_face_t* pHbFace) const;
+ static hb_font_t* InitHbFont(hb_face_t* pHbFace);
virtual hb_font_t* ImplInitHbFont() { assert(false); return nullptr; }
inline void ReleaseHbFont();
diff --git a/vcl/inc/salinst.hxx b/vcl/inc/salinst.hxx
index 1d400e5f9bae..f48cca4136e2 100644
--- a/vcl/inc/salinst.hxx
+++ b/vcl/inc/salinst.hxx
@@ -161,7 +161,7 @@ public:
virtual OpenGLContext* CreateOpenGLContext() = 0;
virtual weld::Builder* CreateBuilder(weld::Widget* pParent, const OUString& rUIRoot, const OUString& rUIFile);
- weld::Builder* CreateInterimBuilder(vcl::Window* pParent, const OUString& rUIRoot, const OUString& rUIFile);
+ static weld::Builder* CreateInterimBuilder(vcl::Window* pParent, const OUString& rUIRoot, const OUString& rUIFile);
virtual weld::MessageDialog* CreateMessageDialog(weld::Widget* pParent, VclMessageType eMessageType,
VclButtonsType eButtonType, const OUString& rPrimaryMessage);
virtual weld::Window* GetFrameWeld(const css::uno::Reference<css::awt::XWindow>& rWindow);
diff --git a/vcl/inc/unx/glyphcache.hxx b/vcl/inc/unx/glyphcache.hxx
index 185d42cb683d..59811d6a144a 100644
--- a/vcl/inc/unx/glyphcache.hxx
+++ b/vcl/inc/unx/glyphcache.hxx
@@ -70,7 +70,7 @@ public:
void ClearFontOptions();
private:
- void InitFreetype();
+ static void InitFreetype();
void GarbageCollect();
FreetypeFont* CreateFont(LogicalFontInstance* pLogicalFont);