diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-22 10:03:41 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-22 14:53:01 +0200 |
commit | c76e30707e08705a90bbfc089975b0cafd84dc8a (patch) | |
tree | 000536a662a08b0eebc2f65c632ba60e5f5d6086 /include/svtools/scrwin.hxx | |
parent | 0e8e1c1881f3f00c76aa47aa1652f4cec343c256 (diff) |
loplugin:constmethod in svtools
Change-Id: I24e2a5844f24b9a3c973e064dad832573339dc7b
Reviewed-on: https://gerrit.libreoffice.org/77946
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svtools/scrwin.hxx')
-rw-r--r-- | include/svtools/scrwin.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svtools/scrwin.hxx b/include/svtools/scrwin.hxx index 10e547669516..f63ba409c58d 100644 --- a/include/svtools/scrwin.hxx +++ b/include/svtools/scrwin.hxx @@ -56,7 +56,7 @@ public: MapMode GetMapMode() const; void SetTotalSize( const Size& rNewSize ); - Size GetTotalSize() { return PixelToLogic( aTotPixSz ); } + Size GetTotalSize() const { return PixelToLogic( aTotPixSz ); } using Window::Scroll; virtual void Scroll( long nDeltaX, long nDeltaY, ScrollFlags nFlags = ScrollFlags::NONE ) override; |