From 05db125c57ea3c8f04a304561209c32cc5c45a67 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 13 Sep 2018 15:00:56 +0200 Subject: loplugin:staticconstfield improvements Change-Id: Ia0a19736dfd4500bb17b04c072710f8ee8744031 Reviewed-on: https://gerrit.libreoffice.org/60526 Tested-by: Jenkins Reviewed-by: Noel Grandin --- desktop/source/splash/splash.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'desktop') 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(); } -- cgit