diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-12 09:36:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-03-12 09:34:21 +0100 |
commit | 6aff77cb30e7c73109684a72ccddf7a28605afcb (patch) | |
tree | 5e39275f7ffe398931ed73db91534db320b814b7 /sdext/source/minimizer | |
parent | 32097c33d7de74ed89a01e88d69b6ff0d1482512 (diff) |
Revert "loplugin:constfields in sdext"
This reverts commit 565746cf861c407ae222b2284d8525b4e9a62d94.
Now that we know that making fields has negative side effects
like disabling assignment operator generation.
Change-Id: I3c98d9a3049b581fe10113708b13d483c5bd85e1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90369
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sdext/source/minimizer')
-rw-r--r-- | sdext/source/minimizer/graphiccollector.hxx | 8 | ||||
-rw-r--r-- | sdext/source/minimizer/informationdialog.hxx | 6 | ||||
-rw-r--r-- | sdext/source/minimizer/pppoptimizertoken.cxx | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sdext/source/minimizer/graphiccollector.hxx b/sdext/source/minimizer/graphiccollector.hxx index a83e272fe291..f989a95ad39c 100644 --- a/sdext/source/minimizer/graphiccollector.hxx +++ b/sdext/source/minimizer/graphiccollector.hxx @@ -33,11 +33,11 @@ struct GraphicSettings { - bool const mbJPEGCompression; - sal_Int32 const mnJPEGQuality; + bool mbJPEGCompression; + sal_Int32 mnJPEGQuality; bool mbRemoveCropArea; - sal_Int32 const mnImageResolution; - bool const mbEmbedLinkedGraphics; + sal_Int32 mnImageResolution; + bool mbEmbedLinkedGraphics; GraphicSettings( bool bJPEGCompression, sal_Int32 nJPEGQuality, bool bRemoveCropArea, sal_Int32 nImageResolution, bool bEmbedLinkedGraphics ) diff --git a/sdext/source/minimizer/informationdialog.hxx b/sdext/source/minimizer/informationdialog.hxx index 274e159895bc..761a40e01e7e 100644 --- a/sdext/source/minimizer/informationdialog.hxx +++ b/sdext/source/minimizer/informationdialog.hxx @@ -57,9 +57,9 @@ private: void InitDialog(); - sal_Int64 const mnSourceSize; - sal_Int64 const mnDestSize; - sal_Int64 const mnApproxSize; + sal_Int64 mnSourceSize; + sal_Int64 mnDestSize; + sal_Int64 mnApproxSize; bool& mrbOpenNewDocument; const OUString& maSaveAsURL; }; diff --git a/sdext/source/minimizer/pppoptimizertoken.cxx b/sdext/source/minimizer/pppoptimizertoken.cxx index d4d4c99c4ba5..255654838880 100644 --- a/sdext/source/minimizer/pppoptimizertoken.cxx +++ b/sdext/source/minimizer/pppoptimizertoken.cxx @@ -37,7 +37,7 @@ namespace { struct TokenTable { const char* pS; - PPPOptimizerTokenEnum const pE; + PPPOptimizerTokenEnum pE; }; } |