summaryrefslogtreecommitdiff
path: root/vcl/inc/ControlCacheKey.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-27 09:03:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 13:21:13 +0100
commitdb378d64a9ca8675066fda31f3bd77dc37c52398 (patch)
treedc6c2c85b4996cff913c9f590eda19712bf9e309 /vcl/inc/ControlCacheKey.hxx
parent9ee60319c675087486907707c8a2b18b5c9dc9fc (diff)
loplugin:constmethod in vcl and stoc
Change-Id: I7c02eecc16ca7cf89d9f7021116b0226885dbf06 Reviewed-on: https://gerrit.libreoffice.org/44044 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc/ControlCacheKey.hxx')
-rw-r--r--vcl/inc/ControlCacheKey.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/inc/ControlCacheKey.hxx b/vcl/inc/ControlCacheKey.hxx
index 20baa6e3759b..810d6e19f0f7 100644
--- a/vcl/inc/ControlCacheKey.hxx
+++ b/vcl/inc/ControlCacheKey.hxx
@@ -47,7 +47,7 @@ public:
&& maSize.Height() == aOther.maSize.Height();
}
- bool canCacheControl()
+ bool canCacheControl() const
{
switch(mnType)
{
@@ -76,4 +76,4 @@ public:
}
};
-#endif // INCLUDED_VCL_INC_CONTROLCACHEKEY_HXX \ No newline at end of file
+#endif // INCLUDED_VCL_INC_CONTROLCACHEKEY_HXX