diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-27 09:03:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-10-30 13:21:13 +0100 |
commit | db378d64a9ca8675066fda31f3bd77dc37c52398 (patch) | |
tree | dc6c2c85b4996cff913c9f590eda19712bf9e309 /include/vcl/gfxlink.hxx | |
parent | 9ee60319c675087486907707c8a2b18b5c9dc9fc (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 'include/vcl/gfxlink.hxx')
-rw-r--r-- | include/vcl/gfxlink.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/vcl/gfxlink.hxx b/include/vcl/gfxlink.hxx index d8eef9e3ce3a..2d84fd293e4f 100644 --- a/include/vcl/gfxlink.hxx +++ b/include/vcl/gfxlink.hxx @@ -95,11 +95,11 @@ public: const Size& GetPrefSize() const { return maPrefSize;} void SetPrefSize( const Size& rPrefSize ); - bool IsPrefSizeValid() { return mbPrefSizeValid;} + bool IsPrefSizeValid() const { return mbPrefSizeValid;} const MapMode& GetPrefMapMode() const { return maPrefMapMode;} void SetPrefMapMode( const MapMode& rPrefMapMode ); - bool IsPrefMapModeValid() { return mbPrefMapModeValid;} + bool IsPrefMapModeValid() const { return mbPrefMapModeValid;} bool IsNative() const; |