summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-02 13:17:47 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-02 17:24:09 +0200
commit441af1f1ca53ca03736e0417414bbcf067aaaefa (patch)
tree33eb111d8ae28feb9290882298438fcc08bdcb05 /vcl/headless
parentf0d4f96a0c7c84ea6f81e14f9df1ca37be54db04 (diff)
Upcoming improved loplugin:staticanonymous -> redundantstatic: vcl
Change-Id: I7559ab5c98a22e315549b5dfc651e937697cac22 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97742 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/svpframe.cxx2
-rw-r--r--vcl/headless/svpgdi.cxx10
2 files changed, 6 insertions, 6 deletions
diff --git a/vcl/headless/svpframe.cxx b/vcl/headless/svpframe.cxx
index 0f6da8d2872f..e38e14e18d7e 100644
--- a/vcl/headless/svpframe.cxx
+++ b/vcl/headless/svpframe.cxx
@@ -300,7 +300,7 @@ SalFrame* SvpSalFrame::GetParent() const
return m_pParent;
}
-static constexpr auto FRAMESTATE_MASK_GEOMETRY =
+constexpr auto FRAMESTATE_MASK_GEOMETRY =
WindowStateMask::X | WindowStateMask::Y |
WindowStateMask::Width | WindowStateMask::Height;
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx
index fadf641fd290..9f1a56e18e8c 100644
--- a/vcl/headless/svpgdi.cxx
+++ b/vcl/headless/svpgdi.cxx
@@ -251,8 +251,8 @@ namespace
}
// check for env var that decides for using downscale pattern
- static const char* pDisableDownScale(getenv("SAL_DISABLE_CAIRO_DOWNSCALE"));
- static bool bDisableDownScale(nullptr != pDisableDownScale);
+ const char* pDisableDownScale(getenv("SAL_DISABLE_CAIRO_DOWNSCALE"));
+ bool bDisableDownScale(nullptr != pDisableDownScale);
class SurfaceHelper
{
@@ -593,9 +593,9 @@ namespace
}
// MM02 decide to use buffers or not
- static const char* pDisableMM02Goodies(getenv("SAL_DISABLE_MM02_GOODIES"));
- static bool bUseBuffer(nullptr == pDisableMM02Goodies);
- static long nMinimalSquareSizeToBuffer(64*64);
+ const char* pDisableMM02Goodies(getenv("SAL_DISABLE_MM02_GOODIES"));
+ bool bUseBuffer(nullptr == pDisableMM02Goodies);
+ long nMinimalSquareSizeToBuffer(64*64);
void tryToUseSourceBuffer(
const SalBitmap& rSourceBitmap,