diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/appl/shutdownicon.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/sidebar/Paint.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 1e643918361e..56cb15663268 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -2588,7 +2588,7 @@ void SfxHelpWindow_Impl::Resize() void SfxHelpWindow_Impl::Split() { static const long nMinSplitSize = 5; - static long nMaxSplitSize = 99 - nMinSplitSize; + static const long nMaxSplitSize = 99 - nMinSplitSize; SplitWindow::Split(); diff --git a/sfx2/source/appl/shutdownicon.cxx b/sfx2/source/appl/shutdownicon.cxx index da830474037a..a74a785e667a 100644 --- a/sfx2/source/appl/shutdownicon.cxx +++ b/sfx2/source/appl/shutdownicon.cxx @@ -123,7 +123,7 @@ extern "C" { namespace { -boost::logic::tribool loaded(boost::logic::indeterminate); +boost::logic::tribool loaded(boost::logic::indeterminate); // loplugin:constvars:ignore oslGenericFunction pInitSystray = disabled_initSystray; oslGenericFunction pDeInitSystray = disabled_deInitSystray; diff --git a/sfx2/source/sidebar/Paint.cxx b/sfx2/source/sidebar/Paint.cxx index 114ef9339b74..817bd0e54f00 100644 --- a/sfx2/source/sidebar/Paint.cxx +++ b/sfx2/source/sidebar/Paint.cxx @@ -59,7 +59,7 @@ const Color& Paint::GetColor() const if (meType != ColorPaint) { assert(meType==ColorPaint); - static Color aErrorColor; + static const Color aErrorColor; return aErrorColor; } else |