summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-07-03 21:35:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-07-04 09:12:10 +0200
commit2d1d1279790807235b1edcee8f807d594636fda7 (patch)
treee330b92efc133f69b5445474a574c90caaabb9f6 /include
parent42bbc9fbdf940e55213ee2a259c1d31de2e4cbec (diff)
ImplGetUnmirroredOutOffX can be const
which avoids some unnecessary const_cast Change-Id: I8bf6a2ab36928dd1df302b64d9552f07f3f1003f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153932 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/window.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 2a94c3bd414c..ba380cb8817d 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -692,7 +692,7 @@ private:
SAL_DLLPRIVATE tools::Rectangle ImplOutputToUnmirroredAbsoluteScreenPixel( const tools::Rectangle& rRect ) const;
SAL_DLLPRIVATE tools::Rectangle ImplUnmirroredAbsoluteScreenToOutputPixel( const tools::Rectangle& rRect ) const;
- SAL_DLLPRIVATE tools::Long ImplGetUnmirroredOutOffX();
+ SAL_DLLPRIVATE tools::Long ImplGetUnmirroredOutOffX() const;
// retrieves the list of owner draw decorated windows for this window hierarchy
SAL_DLLPRIVATE ::std::vector<VclPtr<vcl::Window> >& ImplGetOwnerDrawList();