summaryrefslogtreecommitdiff
path: root/vcl/opengl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-16 08:46:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-16 09:38:24 +0100
commit6a7a0ac6aa50d6f90263c72fcfb42a6451fb841a (patch)
tree9a91e8e70d00fbc6ed2e8e975358931638f57aac /vcl/opengl
parent3621c927b4555cb437fb89d28473228cb5d8e11a (diff)
Revert "loplugin:constfields in vcl"
This reverts commit 59887868da3499c68d5f259cfa48178354397448. Change-Id: I0f3f6a7680c78103a559a0f881badc8211b97ace Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90544 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/opengl')
-rw-r--r--vcl/opengl/PackedTextureAtlas.cxx2
-rw-r--r--vcl/opengl/x11/gdiimpl.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/opengl/PackedTextureAtlas.cxx b/vcl/opengl/PackedTextureAtlas.cxx
index e56e7207bfa2..8508bbe3ca18 100644
--- a/vcl/opengl/PackedTextureAtlas.cxx
+++ b/vcl/opengl/PackedTextureAtlas.cxx
@@ -22,7 +22,7 @@ namespace {
struct Node
{
- tools::Rectangle const mRectangle;
+ tools::Rectangle mRectangle;
std::unique_ptr<Node> mLeftNode;
std::unique_ptr<Node> mRightNode;
bool mOccupied;
diff --git a/vcl/opengl/x11/gdiimpl.cxx b/vcl/opengl/x11/gdiimpl.cxx
index 8b6cbd3d30c8..c00ff76e8eaa 100644
--- a/vcl/opengl/x11/gdiimpl.cxx
+++ b/vcl/opengl/x11/gdiimpl.cxx
@@ -78,7 +78,7 @@ private:
{
private:
errorHandler oldErrorHandler;
- Display* const mdpy;
+ Display* mdpy;
public:
TempErrorHandler(Display* dpy, errorHandler newErrorHandler)