summaryrefslogtreecommitdiffstats
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-15 10:58:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-15 12:43:21 +0200
commit3a1a448ac4a04137705ea0aaf0163358fd2e5549 (patch)
tree0a7eeeebda959b1b8e7e1af99453c3f8b0541852 /basctl
parentofz: MemorySanitizer: use-of-uninitialized-value (diff)
downloadcore-3a1a448ac4a04137705ea0aaf0163358fd2e5549.tar.gz
core-3a1a448ac4a04137705ea0aaf0163358fd2e5549.zip
loplugin:constvars
Change-Id: I9b35d6333afa6b305bf73fc55a7e60c8365674e9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122134 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/dlged/dlgedfunc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basctl/source/dlged/dlgedfunc.cxx b/basctl/source/dlged/dlgedfunc.cxx
index 593f0370f635..da0a20bbaf55 100644
--- a/basctl/source/dlged/dlgedfunc.cxx
+++ b/basctl/source/dlged/dlgedfunc.cxx
@@ -41,7 +41,7 @@ void DlgEdFunc::ForceScroll( const Point& rPos )
vcl::Window& rWindow = rParent.GetWindow();
- static Point aDefPoint;
+ static const Point aDefPoint;
tools::Rectangle aOutRect( aDefPoint, rWindow.GetOutputSizePixel() );
aOutRect = rWindow.PixelToLogic( aOutRect );