summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-13 15:00:56 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-17 10:52:39 +0200
commit05db125c57ea3c8f04a304561209c32cc5c45a67 (patch)
treeb145bc06aefb426e9b92fe9b4defea02a5ee4abe /desktop
parentoovbaapi: hack Excel / OptionButton compatibility into Button for now. (diff)
downloadcore-05db125c57ea3c8f04a304561209c32cc5c45a67.tar.gz
core-05db125c57ea3c8f04a304561209c32cc5c45a67.zip
loplugin:staticconstfield improvements
Change-Id: Ia0a19736dfd4500bb17b04c072710f8ee8744031 Reviewed-on: https://gerrit.libreoffice.org/60526 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/splash/splash.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/desktop/source/splash/splash.cxx b/desktop/source/splash/splash.cxx
index b7724ec1e636..336601a6d80f 100644
--- a/desktop/source/splash/splash.cxx
+++ b/desktop/source/splash/splash.cxx
@@ -99,7 +99,7 @@ private:
long _barheight, _barspace, _textBaseline;
double _fXPos, _fYPos;
double _fWidth, _fHeight;
- const long _xoffset, _yoffset;
+ static constexpr long _xoffset = 12, _yoffset = 18;
public:
SplashScreen();
@@ -172,8 +172,6 @@ SplashScreen::SplashScreen()
, _fYPos(-1.0)
, _fWidth(-1.0)
, _fHeight(-1.0)
- , _xoffset(12)
- , _yoffset(18)
{
loadConfig();
}