summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-03-13 10:40:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-03-13 19:21:28 +0100
commitb4cb9bc2b80e316ff615e14c4a5ae2a1ab492f91 (patch)
tree3bde5c701091b9ec1dd02ffbeed5ab621514a247 /svx
parentdf3e1b7bbd126ed114015070bf68db30fbe9516e (diff)
Revert "loplugin:constfields in svx"
This reverts commit 1a6397030381a45f27ab7a2a02e6e6d0f9987c84. Change-Id: Iaa706bb4ea3144ef57ab359b982400abc589b97e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90454 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/CommonStylePreviewRenderer.hxx2
-rw-r--r--svx/inc/dragmt3d.hxx2
-rw-r--r--svx/inc/palettes.hxx10
-rw-r--r--svx/inc/sdr/contact/viewcontactofsdrpage.hxx4
-rw-r--r--svx/inc/sdr/overlay/overlayhandle.hxx4
-rw-r--r--svx/inc/sdr/overlay/overlayhelpline.hxx2
-rw-r--r--svx/inc/sdr/overlay/overlayline.hxx2
-rw-r--r--svx/inc/sdr/overlay/overlayrectangle.hxx4
-rw-r--r--svx/inc/sdr/overlay/overlayrollingrectangle.hxx4
-rw-r--r--svx/inc/sdr/overlay/overlaytools.hxx62
-rw-r--r--svx/inc/sdr/overlay/overlaytriangle.hxx4
-rw-r--r--svx/inc/sdr/primitive2d/sdrcaptionprimitive2d.hxx8
-rw-r--r--svx/inc/sdr/primitive2d/sdrconnectorprimitive2d.hxx4
-rw-r--r--svx/inc/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx10
-rw-r--r--svx/inc/sdr/primitive2d/sdrellipseprimitive2d.hxx12
-rw-r--r--svx/inc/sdr/primitive2d/sdrgrafprimitive2d.hxx6
-rw-r--r--svx/inc/sdr/primitive2d/sdrmeasureprimitive2d.hxx28
-rw-r--r--svx/inc/sdr/primitive2d/sdrole2primitive2d.hxx6
-rw-r--r--svx/inc/sdr/primitive2d/sdrolecontentprimitive2d.hxx4
-rw-r--r--svx/inc/sdr/primitive2d/sdrpathprimitive2d.hxx8
-rw-r--r--svx/inc/sdr/primitive2d/sdrrectangleprimitive2d.hxx10
-rw-r--r--svx/inc/sdr/primitive2d/sdrtextprimitive2d.hxx32
-rw-r--r--svx/inc/xpolyimp.hxx2
-rw-r--r--svx/source/accessibility/svxrectctaccessiblecontext.cxx2
-rw-r--r--svx/source/customshapes/EnhancedCustomShape3d.hxx4
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx4
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeHandle.hxx2
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx2
-rw-r--r--svx/source/dialog/framelinkarray.cxx4
-rw-r--r--svx/source/dialog/srchdlg.cxx2
-rw-r--r--svx/source/fmcomp/gridctrl.cxx2
-rw-r--r--svx/source/form/filtnav.cxx4
-rw-r--r--svx/source/form/fmdocumentclassification.cxx4
-rw-r--r--svx/source/form/fmsrccfg.cxx2
-rw-r--r--svx/source/form/formcontrolling.cxx10
-rw-r--r--svx/source/form/tabwin.cxx2
-rw-r--r--svx/source/gallery2/galbrws1.hxx2
-rw-r--r--svx/source/gallery2/galbrws2.cxx4
-rw-r--r--svx/source/inc/AccessibleFrameSelector.hxx2
-rw-r--r--svx/source/inc/charmapacc.hxx2
-rw-r--r--svx/source/inc/datanavi.hxx22
-rw-r--r--svx/source/inc/delayedevent.hxx2
-rw-r--r--svx/source/inc/docrecovery.hxx8
-rw-r--r--svx/source/inc/filtnav.hxx6
-rw-r--r--svx/source/inc/fmexpl.hxx12
-rw-r--r--svx/source/inc/fmshimp.hxx4
-rw-r--r--svx/source/inc/fmtextcontroldialogs.hxx2
-rw-r--r--svx/source/inc/fmtextcontrolfeature.hxx4
-rw-r--r--svx/source/inc/fmundo.hxx8
-rw-r--r--svx/source/inc/formcontrolling.hxx2
-rw-r--r--svx/source/inc/gridcell.hxx4
-rw-r--r--svx/source/inc/svxpixelctlaccessiblecontext.hxx4
-rw-r--r--svx/source/inc/svxrectctaccessiblecontext.hxx12
-rw-r--r--svx/source/mnuctrls/smarttagmenu.cxx2
-rw-r--r--svx/source/sdr/attribute/sdrformtextattribute.cxx22
-rw-r--r--svx/source/sdr/attribute/sdrformtextoutlineattribute.cxx6
-rw-r--r--svx/source/sdr/attribute/sdrtextattribute.cxx36
-rw-r--r--svx/source/sdr/contact/viewobjectcontact.cxx4
-rw-r--r--svx/source/sidebar/area/AreaPropertyPanel.hxx2
-rw-r--r--svx/source/sidebar/graphic/GraphicPropertyPanel.hxx2
-rw-r--r--svx/source/sidebar/line/LinePropertyPanel.hxx2
-rw-r--r--svx/source/sidebar/paragraph/ParaPropertyPanel.hxx2
-rw-r--r--svx/source/sidebar/shadow/ShadowPropertyPanel.hxx2
-rw-r--r--svx/source/stbctrls/pszctrl.cxx2
-rw-r--r--svx/source/svdraw/svddrgm1.hxx4
-rw-r--r--svx/source/svdraw/svdedxv.cxx2
-rw-r--r--svx/source/svdraw/svdfmtf.hxx4
-rw-r--r--svx/source/svdraw/svdhdl.cxx2
-rw-r--r--svx/source/svdraw/svdmrkv.cxx2
-rw-r--r--svx/source/svdraw/svdopath.cxx4
-rw-r--r--svx/source/svdraw/svdpdf.hxx6
-rw-r--r--svx/source/svdraw/svdsnpv.cxx6
-rw-r--r--svx/source/table/tablehandles.cxx4
-rw-r--r--svx/source/table/tablehandles.hxx6
-rw-r--r--svx/source/table/tablertfimporter.cxx2
-rw-r--r--svx/source/table/tableundo.hxx8
-rw-r--r--svx/source/table/viewcontactoftableobj.cxx4
-rw-r--r--svx/source/tbxctrls/bulletsnumbering.cxx2
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx12
-rw-r--r--svx/source/tbxctrls/tbunosearchcontrollers.cxx2
-rw-r--r--svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx6
-rw-r--r--svx/source/unodraw/UnoGraphicExporter.cxx2
-rw-r--r--svx/source/unodraw/UnoNameItemTable.hxx2
-rw-r--r--svx/source/unodraw/UnoNamespaceMap.cxx4
-rw-r--r--svx/source/unodraw/XPropertyTable.cxx2
-rw-r--r--svx/source/unodraw/unoshap2.cxx8
-rw-r--r--svx/source/xml/xmlgrhlp.cxx2
-rw-r--r--svx/source/xml/xmlxtimp.cxx4
-rw-r--r--svx/source/xoutdev/xtable.cxx2
89 files changed, 279 insertions, 279 deletions
diff --git a/svx/inc/CommonStylePreviewRenderer.hxx b/svx/inc/CommonStylePreviewRenderer.hxx
index 3cb6bf0441d0..c45b785c1344 100644
--- a/svx/inc/CommonStylePreviewRenderer.hxx
+++ b/svx/inc/CommonStylePreviewRenderer.hxx
@@ -29,7 +29,7 @@ class CommonStylePreviewRenderer final : public sfx2::StylePreviewRenderer
Color maFontColor;
Color maBackgroundColor;
Size maPixelSize;
- OUString const maStyleName;
+ OUString maStyleName;
public:
CommonStylePreviewRenderer(const SfxObjectShell& rShell, OutputDevice& rOutputDev,
diff --git a/svx/inc/dragmt3d.hxx b/svx/inc/dragmt3d.hxx
index 9009bdff06c9..d174d966c062 100644
--- a/svx/inc/dragmt3d.hxx
+++ b/svx/inc/dragmt3d.hxx
@@ -57,7 +57,7 @@ class E3dDragMethod : public SdrDragMethod
{
protected:
::std::vector< E3dDragMethodUnit > maGrp;
- E3dDragConstraint const meConstraint;
+ E3dDragConstraint meConstraint;
Point maLastPos;
tools::Rectangle maFullBound;
bool mbMoveFull;
diff --git a/svx/inc/palettes.hxx b/svx/inc/palettes.hxx
index 635724719e9c..ba3eaf644418 100644
--- a/svx/inc/palettes.hxx
+++ b/svx/inc/palettes.hxx
@@ -32,7 +32,7 @@ typedef std::vector< NamedColor > ColorList;
class PaletteASE final : public Palette
{
bool mbValidPalette;
- OUString const maFPath;
+ OUString maFPath;
OUString maASEPaletteName;
ColorList maColors;
@@ -55,8 +55,8 @@ class PaletteGPL final : public Palette
{
bool mbLoadedPalette;
bool mbValidPalette;
- OUString const maFName;
- OUString const maFPath;
+ OUString maFName;
+ OUString maFPath;
OUString maGPLPaletteName;
ColorList maColors;
@@ -80,8 +80,8 @@ public:
class PaletteSOC final : public Palette
{
bool mbLoadedPalette;
- OUString const maFPath;
- OUString const maSOCPaletteName;
+ OUString maFPath;
+ OUString maSOCPaletteName;
XColorListRef mpColorList;
public:
PaletteSOC( const OUString &rFPath, const OUString &rFName );
diff --git a/svx/inc/sdr/contact/viewcontactofsdrpage.hxx b/svx/inc/sdr/contact/viewcontactofsdrpage.hxx
index e877b61d37a4..cec8c0cbb2f6 100644
--- a/svx/inc/sdr/contact/viewcontactofsdrpage.hxx
+++ b/svx/inc/sdr/contact/viewcontactofsdrpage.hxx
@@ -123,7 +123,7 @@ public:
class ViewContactOfGrid final : public ViewContactOfPageSubObject
{
- bool const mbFront : 1;
+ bool mbFront : 1;
virtual ViewObjectContact& CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) override;
virtual drawinglayer::primitive2d::Primitive2DContainer createViewIndependentPrimitive2DSequence() const override;
@@ -137,7 +137,7 @@ public:
class ViewContactOfHelplines final : public ViewContactOfPageSubObject
{
- bool const mbFront : 1;
+ bool mbFront : 1;
virtual ViewObjectContact& CreateObjectSpecificViewObjectContact(ObjectContact& rObjectContact) override;
virtual drawinglayer::primitive2d::Primitive2DContainer createViewIndependentPrimitive2DSequence() const override;
diff --git a/svx/inc/sdr/overlay/overlayhandle.hxx b/svx/inc/sdr/overlay/overlayhandle.hxx
index 4d86f2bfc000..fea09902bbc9 100644
--- a/svx/inc/sdr/overlay/overlayhandle.hxx
+++ b/svx/inc/sdr/overlay/overlayhandle.hxx
@@ -19,8 +19,8 @@ namespace sdr { namespace overlay {
class OverlayHandle final : public OverlayObjectWithBasePosition
{
- basegfx::B2DSize const maSize;
- Color const maStrokeColor;
+ basegfx::B2DSize maSize;
+ Color maStrokeColor;
// geometry creation for OverlayObject
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence() override;
diff --git a/svx/inc/sdr/overlay/overlayhelpline.hxx b/svx/inc/sdr/overlay/overlayhelpline.hxx
index b46712eae8cb..84077f10367d 100644
--- a/svx/inc/sdr/overlay/overlayhelpline.hxx
+++ b/svx/inc/sdr/overlay/overlayhelpline.hxx
@@ -31,7 +31,7 @@ namespace sdr
class OverlayHelplineStriped final : public OverlayObjectWithBasePosition
{
// remember HelpLineKind
- SdrHelpLineKind const meKind;
+ SdrHelpLineKind meKind;
// geometry creation for OverlayObject
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence() override;
diff --git a/svx/inc/sdr/overlay/overlayline.hxx b/svx/inc/sdr/overlay/overlayline.hxx
index c365f79d42eb..33ec22c0e25d 100644
--- a/svx/inc/sdr/overlay/overlayline.hxx
+++ b/svx/inc/sdr/overlay/overlayline.hxx
@@ -30,7 +30,7 @@ namespace sdr
class OverlayLineStriped final : public OverlayObjectWithBasePosition
{
// second position in pixel
- basegfx::B2DPoint const maSecondPosition;
+ basegfx::B2DPoint maSecondPosition;
// geometry creation for OverlayObject
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence() override;
diff --git a/svx/inc/sdr/overlay/overlayrectangle.hxx b/svx/inc/sdr/overlay/overlayrectangle.hxx
index f03f7bd9b9bb..7f4dfd895eb3 100644
--- a/svx/inc/sdr/overlay/overlayrectangle.hxx
+++ b/svx/inc/sdr/overlay/overlayrectangle.hxx
@@ -30,14 +30,14 @@ namespace sdr
class OverlayRectangle final : public OverlayObjectWithBasePosition
{
// geometric definitions
- basegfx::B2DPoint const maSecondPosition;
+ basegfx::B2DPoint maSecondPosition;
const double mfTransparence;
const double mfDiscreteGrow;
const double mfDiscreteShrink;
const double mfRotation;
// #i53216# added CursorBlinkTime (in ms)
- sal_uInt32 const mnBlinkTime;
+ sal_uInt32 mnBlinkTime;
// Flag to remember which state to draw. Inited with false (0)
bool mbOverlayState : 1;
diff --git a/svx/inc/sdr/overlay/overlayrollingrectangle.hxx b/svx/inc/sdr/overlay/overlayrollingrectangle.hxx
index d31ff48405c7..7a18f1cb4b8f 100644
--- a/svx/inc/sdr/overlay/overlayrollingrectangle.hxx
+++ b/svx/inc/sdr/overlay/overlayrollingrectangle.hxx
@@ -33,10 +33,10 @@ namespace sdr
basegfx::B2DPoint maSecondPosition;
// Flag to switch on/off long lines to the OutputDevice bounds
- bool const mbExtendedLines : 1;
+ bool mbExtendedLines : 1;
// Flag to switch on/off the bounds itself
- bool const mbShowBounds : 1;
+ bool mbShowBounds : 1;
// geometry creation for OverlayObject
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence() override;
diff --git a/svx/inc/sdr/overlay/overlaytools.hxx b/svx/inc/sdr/overlay/overlaytools.hxx
index 5d0f07006e60..8649e866d7dd 100644
--- a/svx/inc/sdr/overlay/overlaytools.hxx
+++ b/svx/inc/sdr/overlay/overlaytools.hxx
@@ -29,16 +29,16 @@ namespace drawinglayer { namespace primitive2d {
class OverlayStaticRectanglePrimitive final : public DiscreteMetricDependentPrimitive2D
{
private:
- basegfx::B2DPoint const maPosition;
- basegfx::B2DSize const maSize;
+ basegfx::B2DPoint maPosition;
+ basegfx::B2DSize maSize;
// the graphic definition
- basegfx::BColor const maStrokeColor;
- basegfx::BColor const maFillColor;
- double const mfTransparence;
+ basegfx::BColor maStrokeColor;
+ basegfx::BColor maFillColor;
+ double mfTransparence;
// the rotation of the primitive itself
- double const mfRotation;
+ double mfRotation;
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& rViewInformation) const override;
@@ -71,19 +71,19 @@ namespace drawinglayer
{
private:
// The BitmapEx to use, PixelSize is used
- BitmapEx const maBitmapEx;
+ BitmapEx maBitmapEx;
// The logic position
- basegfx::B2DPoint const maBasePosition;
+ basegfx::B2DPoint maBasePosition;
// The pixel inside the BitmapEx which is assocciated with
// the target position (offset in the bitmap)
- sal_uInt16 const mnCenterX;
- sal_uInt16 const mnCenterY;
+ sal_uInt16 mnCenterX;
+ sal_uInt16 mnCenterY;
// evtl. rotation and shear around center
- double const mfShearX;
- double const mfRotation;
+ double mfShearX;
+ double mfRotation;
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& rViewInformation) const override;
@@ -122,12 +122,12 @@ namespace drawinglayer
{
private:
// The logic position
- basegfx::B2DPoint const maBasePosition;
+ basegfx::B2DPoint maBasePosition;
// The stripe colors and length
- basegfx::BColor const maRGBColorA;
- basegfx::BColor const maRGBColorB;
- double const mfDiscreteDashLength;
+ basegfx::BColor maRGBColorA;
+ basegfx::BColor maRGBColorB;
+ double mfDiscreteDashLength;
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& rViewInformation) const override;
@@ -163,18 +163,18 @@ namespace drawinglayer
{
private:
// the logic rectangle definition
- basegfx::B2DRange const maObjectRange;
+ basegfx::B2DRange maObjectRange;
// the graphic definition
- basegfx::BColor const maColor;
- double const mfTransparence;
+ basegfx::BColor maColor;
+ double mfTransparence;
// the discrete grow and shrink of the box
- double const mfDiscreteGrow;
- double const mfDiscreteShrink;
+ double mfDiscreteGrow;
+ double mfDiscreteShrink;
// the rotation of the primitive itself
- double const mfRotation;
+ double mfRotation;
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& rViewInformation) const override;
@@ -221,15 +221,15 @@ namespace drawinglayer
{
private:
// The logic position
- basegfx::B2DPoint const maBasePosition;
+ basegfx::B2DPoint maBasePosition;
// the style
- HelplineStyle const meStyle;
+ HelplineStyle meStyle;
// The stripe colors and length
- basegfx::BColor const maRGBColorA;
- basegfx::BColor const maRGBColorB;
- double const mfDiscreteDashLength;
+ basegfx::BColor maRGBColorA;
+ basegfx::BColor maRGBColorB;
+ double mfDiscreteDashLength;
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& rViewInformation) const override;
@@ -268,12 +268,12 @@ namespace drawinglayer
{
private:
// The logic range
- basegfx::B2DRange const maRollingRectangle;
+ basegfx::B2DRange maRollingRectangle;
// The stripe colors and length
- basegfx::BColor const maRGBColorA;
- basegfx::BColor const maRGBColorB;
- double const mfDiscreteDashLength;
+ basegfx::BColor maRGBColorA;
+ basegfx::BColor maRGBColorB;
+ double mfDiscreteDashLength;
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& rViewInformation) const override;
diff --git a/svx/inc/sdr/overlay/overlaytriangle.hxx b/svx/inc/sdr/overlay/overlaytriangle.hxx
index 730671f80d83..76e481e645fb 100644
--- a/svx/inc/sdr/overlay/overlaytriangle.hxx
+++ b/svx/inc/sdr/overlay/overlaytriangle.hxx
@@ -28,8 +28,8 @@ namespace sdr
class OverlayTriangle final : public OverlayObjectWithBasePosition
{
// second and third position in pixel
- basegfx::B2DPoint const maSecondPosition;
- basegfx::B2DPoint const maThirdPosition;
+ basegfx::B2DPoint maSecondPosition;
+ basegfx::B2DPoint maThirdPosition;
// geometry creation for OverlayObject
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence() override;
diff --git a/svx/inc/sdr/primitive2d/sdrcaptionprimitive2d.hxx b/svx/inc/sdr/primitive2d/sdrcaptionprimitive2d.hxx
index a0ec102cab73..ec6cd2320e41 100644
--- a/svx/inc/sdr/primitive2d/sdrcaptionprimitive2d.hxx
+++ b/svx/inc/sdr/primitive2d/sdrcaptionprimitive2d.hxx
@@ -36,11 +36,11 @@ namespace drawinglayer
class SdrCaptionPrimitive2D final : public BufferedDecompositionPrimitive2D
{
private:
- ::basegfx::B2DHomMatrix const maTransform;
- attribute::SdrLineFillShadowTextAttribute const maSdrLFSTAttribute;
+ ::basegfx::B2DHomMatrix maTransform;
+ attribute::SdrLineFillShadowTextAttribute maSdrLFSTAttribute;
::basegfx::B2DPolygon maTail;
- double const mfCornerRadiusX; // [0.0..1.0] relative to 1/2 width
- double const mfCornerRadiusY; // [0.0..1.0] relative to 1/2 height
+ double mfCornerRadiusX; // [0.0..1.0] relative to 1/2 width
+ double mfCornerRadiusY; // [0.0..1.0] relative to 1/2 height
// local decomposition.
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override;
diff --git a/svx/inc/sdr/primitive2d/sdrconnectorprimitive2d.hxx b/svx/inc/sdr/primitive2d/sdrconnectorprimitive2d.hxx
index 64cfddc43203..f115283dc786 100644
--- a/svx/inc/sdr/primitive2d/sdrconnectorprimitive2d.hxx
+++ b/svx/inc/sdr/primitive2d/sdrconnectorprimitive2d.hxx
@@ -35,8 +35,8 @@ namespace drawinglayer
class SdrConnectorPrimitive2D final : public BufferedDecompositionPrimitive2D
{
private:
- attribute::SdrLineShadowTextAttribute const maSdrLSTAttribute;
- ::basegfx::B2DPolygon const maUnitPolygon;
+ attribute::SdrLineShadowTextAttribute maSdrLSTAttribute;
+ ::basegfx::B2DPolygon maUnitPolygon;
// local decomposition.
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override;
diff --git a/svx/inc/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx b/svx/inc/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx
index 4012ed29613d..6ca417d340c5 100644
--- a/svx/inc/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx
+++ b/svx/inc/sdr/primitive2d/sdrcustomshapeprimitive2d.hxx
@@ -35,17 +35,17 @@ namespace drawinglayer
class SdrCustomShapePrimitive2D : public BufferedDecompositionPrimitive2D
{
private:
- attribute::SdrShadowTextAttribute const maSdrSTAttribute;
- Primitive2DContainer const maSubPrimitives;
- basegfx::B2DHomMatrix const maTextBox;
+ attribute::SdrShadowTextAttribute maSdrSTAttribute;
+ Primitive2DContainer maSubPrimitives;
+ basegfx::B2DHomMatrix maTextBox;
// defines if SdrTextWordWrapItem was set at SdrObjCustomShape which means
// that the text needs to be block formatted
- bool const mbWordWrap : 1;
+ bool mbWordWrap : 1;
// defines that the object contains/is a 3D AutoShape. Needed for
// making exceptions with shadow generation
- bool const mb3DShape : 1;
+ bool mb3DShape : 1;
protected:
// local decomposition.
diff --git a/svx/inc/sdr/primitive2d/sdrellipseprimitive2d.hxx b/svx/inc/sdr/primitive2d/sdrellipseprimitive2d.hxx
index 746d46a75585..9a498fdada90 100644
--- a/svx/inc/sdr/primitive2d/sdrellipseprimitive2d.hxx
+++ b/svx/inc/sdr/primitive2d/sdrellipseprimitive2d.hxx
@@ -35,8 +35,8 @@ namespace drawinglayer
class SdrEllipsePrimitive2D : public BufferedDecompositionPrimitive2D
{
private:
- ::basegfx::B2DHomMatrix const maTransform;
- attribute::SdrLineFillShadowTextAttribute const maSdrLFSTAttribute;
+ ::basegfx::B2DHomMatrix maTransform;
+ attribute::SdrLineFillShadowTextAttribute maSdrLFSTAttribute;
// local decomposition.
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override;
@@ -67,11 +67,11 @@ namespace drawinglayer
class SdrEllipseSegmentPrimitive2D final : public SdrEllipsePrimitive2D
{
private:
- double const mfStartAngle;
- double const mfEndAngle;
+ double mfStartAngle;
+ double mfEndAngle;
- bool const mbCloseSegment : 1;
- bool const mbCloseUsingCenter : 1;
+ bool mbCloseSegment : 1;
+ bool mbCloseUsingCenter : 1;
// local decomposition.
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override;
diff --git a/svx/inc/sdr/primitive2d/sdrgrafprimitive2d.hxx b/svx/inc/sdr/primitive2d/sdrgrafprimitive2d.hxx
index 2a317df334d6..e4e685bfa4d3 100644
--- a/svx/inc/sdr/primitive2d/sdrgrafprimitive2d.hxx
+++ b/svx/inc/sdr/primitive2d/sdrgrafprimitive2d.hxx
@@ -36,9 +36,9 @@ namespace drawinglayer
class SdrGrafPrimitive2D final : public BufferedDecompositionPrimitive2D
{
private:
- ::basegfx::B2DHomMatrix const maTransform;
- attribute::SdrLineFillShadowTextAttribute const maSdrLFSTAttribute;
- GraphicObject const maGraphicObject;
+ ::basegfx::B2DHomMatrix maTransform;
+ attribute::SdrLineFillShadowTextAttribute maSdrLFSTAttribute;
+ GraphicObject maGraphicObject;
GraphicAttr maGraphicAttr;
// local decomposition.
diff --git a/svx/inc/sdr/primitive2d/sdrmeasureprimitive2d.hxx b/svx/inc/sdr/primitive2d/sdrmeasureprimitive2d.hxx
index aa666a4ec051..f4a3b5dc0290 100644
--- a/svx/inc/sdr/primitive2d/sdrmeasureprimitive2d.hxx
+++ b/svx/inc/sdr/primitive2d/sdrmeasureprimitive2d.hxx
@@ -48,20 +48,20 @@ namespace drawinglayer
class SdrMeasurePrimitive2D final : public BufferedDecompositionPrimitive2D
{
private:
- attribute::SdrLineShadowTextAttribute const maSdrLSTAttribute;
- basegfx::B2DPoint const maStart;
- basegfx::B2DPoint const maEnd;
- MeasureTextPosition const meHorizontal;
- MeasureTextPosition const meVertical;
- double const mfDistance;
- double const mfUpper;
- double const mfLower;
- double const mfLeftDelta;
- double const mfRightDelta;
-
- bool const mbBelow : 1;
- bool const mbTextRotation : 1;
- bool const mbTextAutoAngle : 1;
+ attribute::SdrLineShadowTextAttribute maSdrLSTAttribute;
+ basegfx::B2DPoint maStart;
+ basegfx::B2DPoint maEnd;
+ MeasureTextPosition meHorizontal;
+ MeasureTextPosition meVertical;
+ double mfDistance;
+ double mfUpper;
+ double mfLower;
+ double mfLeftDelta;
+ double mfRightDelta;
+
+ bool mbBelow : 1;
+ bool mbTextRotation : 1;
+ bool mbTextAutoAngle : 1;
// internal decomposition helper
Primitive2DReference impCreatePart(
diff --git a/svx/inc/sdr/primitive2d/sdrole2primitive2d.hxx b/svx/inc/sdr/primitive2d/sdrole2primitive2d.hxx
index 722244e463af..fe2d7ff7a9b3 100644
--- a/svx/inc/sdr/primitive2d/sdrole2primitive2d.hxx
+++ b/svx/inc/sdr/primitive2d/sdrole2primitive2d.hxx
@@ -35,9 +35,9 @@ namespace drawinglayer
class SdrOle2Primitive2D final : public BasePrimitive2D
{
private:
- Primitive2DContainer const maOLEContent;
- basegfx::B2DHomMatrix const maTransform;
- attribute::SdrLineFillShadowTextAttribute const maSdrLFSTAttribute;
+ Primitive2DContainer maOLEContent;
+ basegfx::B2DHomMatrix maTransform;
+ attribute::SdrLineFillShadowTextAttribute maSdrLFSTAttribute;
public:
SdrOle2Primitive2D(
diff --git a/svx/inc/sdr/primitive2d/sdrolecontentprimitive2d.hxx b/svx/inc/sdr/primitive2d/sdrolecontentprimitive2d.hxx
index b2f3f940bec1..2dec9b986c0c 100644
--- a/svx/inc/sdr/primitive2d/sdrolecontentprimitive2d.hxx
+++ b/svx/inc/sdr/primitive2d/sdrolecontentprimitive2d.hxx
@@ -38,12 +38,12 @@ namespace drawinglayer
{
private:
tools::WeakReference<SdrOle2Obj> mpSdrOle2Obj;
- basegfx::B2DHomMatrix const maObjectTransform;
+ basegfx::B2DHomMatrix maObjectTransform;
// #i104867# The GraphicVersion number to identify in operator== if
// the graphic has changed, but without fetching it (which may
// be expensive, e.g. triggering chart creation)
- sal_uInt32 const mnGraphicVersion;
+ sal_uInt32 mnGraphicVersion;
// local decomposition.
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override;
diff --git a/svx/inc/sdr/primitive2d/sdrpathprimitive2d.hxx b/svx/inc/sdr/primitive2d/sdrpathprimitive2d.hxx
index 1373c5986cf4..b6944230f18c 100644
--- a/svx/inc/sdr/primitive2d/sdrpathprimitive2d.hxx
+++ b/svx/inc/sdr/primitive2d/sdrpathprimitive2d.hxx
@@ -36,9 +36,9 @@ namespace drawinglayer
class SdrPathPrimitive2D final : public BufferedDecompositionPrimitive2D
{
private:
- basegfx::B2DHomMatrix const maTransform;
- attribute::SdrLineFillShadowTextAttribute const maSdrLFSTAttribute;
- basegfx::B2DPolyPolygon const maUnitPolyPolygon;
+ basegfx::B2DHomMatrix maTransform;
+ attribute::SdrLineFillShadowTextAttribute maSdrLFSTAttribute;
+ basegfx::B2DPolyPolygon maUnitPolyPolygon;
// OperationSmiley: Added to be able to define a FillGeometry different from local
// geometry. It is ignored when empty and/or equal to UnitPolyPolygon.
@@ -49,7 +49,7 @@ namespace drawinglayer
// 'same' is in quotes since it is a UnitPolygon, so being relative to the
// unit polygon of the local geometry (UnitPolyPolygon). The definition is complete
// when applying the also given transformation (maTransform)
- basegfx::B2DPolyPolygon const maUnitDefinitionPolyPolygon;
+ basegfx::B2DPolyPolygon maUnitDefinitionPolyPolygon;
// local decomposition.
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override;
diff --git a/svx/inc/sdr/primitive2d/sdrrectangleprimitive2d.hxx b/svx/inc/sdr/primitive2d/sdrrectangleprimitive2d.hxx
index 276bbcdb57c1..e0b561bb7dc1 100644
--- a/svx/inc/sdr/primitive2d/sdrrectangleprimitive2d.hxx
+++ b/svx/inc/sdr/primitive2d/sdrrectangleprimitive2d.hxx
@@ -35,13 +35,13 @@ namespace drawinglayer
class SdrRectanglePrimitive2D final : public BufferedDecompositionPrimitive2D
{
private:
- basegfx::B2DHomMatrix const maTransform;
- attribute::SdrLineFillShadowTextAttribute const maSdrLFSTAttribute;
- double const mfCornerRadiusX; // [0.0..1.0] relative to 1/2 width
- double const mfCornerRadiusY; // [0.0..1.0] relative to 1/2 height
+ basegfx::B2DHomMatrix maTransform;
+ attribute::SdrLineFillShadowTextAttribute maSdrLFSTAttribute;
+ double mfCornerRadiusX; // [0.0..1.0] relative to 1/2 width
+ double mfCornerRadiusY; // [0.0..1.0] relative to 1/2 height
// flag which decides if the HitArea should be the filled geometry
- bool const mbForceFillForHitTest : 1;
+ bool mbForceFillForHitTest : 1;
// local decomposition.
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override;
diff --git a/svx/inc/sdr/primitive2d/sdrtextprimitive2d.hxx b/svx/inc/sdr/primitive2d/sdrtextprimitive2d.hxx
index 1edd4377672a..eac15db3b878 100644
--- a/svx/inc/sdr/primitive2d/sdrtextprimitive2d.hxx
+++ b/svx/inc/sdr/primitive2d/sdrtextprimitive2d.hxx
@@ -109,10 +109,10 @@ namespace drawinglayer
{
private:
// unit contour polygon (scaled to [0.0 .. 1.0])
- basegfx::B2DPolyPolygon const maUnitPolyPolygon;
+ basegfx::B2DPolyPolygon maUnitPolyPolygon;
// complete contour polygon transform (scale, rotate, shear, translate)
- basegfx::B2DHomMatrix const maObjectTransform;
+ basegfx::B2DHomMatrix maObjectTransform;
// local decomposition.
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override;
@@ -149,10 +149,10 @@ namespace drawinglayer
{
private:
// the path to use. Each paragraph will use one Polygon.
- basegfx::B2DPolyPolygon const maPathPolyPolygon;
+ basegfx::B2DPolyPolygon maPathPolyPolygon;
// the Fontwork parameters
- attribute::SdrFormTextAttribute const maSdrFormTextAttribute;
+ attribute::SdrFormTextAttribute maSdrFormTextAttribute;
// local decomposition.
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override;
@@ -189,16 +189,16 @@ namespace drawinglayer
{
private:
// text range transformation from unit range ([0.0 .. 1.0]) to text range
- basegfx::B2DHomMatrix const maTextRangeTransform;
+ basegfx::B2DHomMatrix maTextRangeTransform;
// text alignments
- SdrTextHorzAdjust const maSdrTextHorzAdjust;
- SdrTextVertAdjust const maSdrTextVertAdjust;
+ SdrTextHorzAdjust maSdrTextHorzAdjust;
+ SdrTextVertAdjust maSdrTextVertAdjust;
- bool const mbFixedCellHeight : 1;
- bool const mbUnlimitedPage : 1; // force layout with no text break
- bool const mbCellText : 1; // this is a cell text as block text
- bool const mbWordWrap : 1; // for CustomShapes text layout
+ bool mbFixedCellHeight : 1;
+ bool mbUnlimitedPage : 1; // force layout with no text break
+ bool mbCellText : 1; // this is a cell text as block text
+ bool mbWordWrap : 1; // for CustomShapes text layout
// local decomposition.
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override;
@@ -245,9 +245,9 @@ namespace drawinglayer
{
private:
// text range transformation from unit range ([0.0 .. 1.0]) to text range
- basegfx::B2DHomMatrix const maTextRangeTransform;
+ basegfx::B2DHomMatrix maTextRangeTransform;
- bool const mbFixedCellHeight : 1;
+ bool mbFixedCellHeight : 1;
// local decomposition.
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override;
@@ -283,9 +283,9 @@ namespace drawinglayer
class SdrAutoFitTextPrimitive2D final : public SdrTextPrimitive2D
{
private:
- ::basegfx::B2DHomMatrix const maTextRangeTransform; // text range transformation from unit range ([0.0 .. 1.0]) to text range
+ ::basegfx::B2DHomMatrix maTextRangeTransform; // text range transformation from unit range ([0.0 .. 1.0]) to text range
- bool const mbWordWrap : 1; // for CustomShapes text layout
+ bool mbWordWrap : 1; // for CustomShapes text layout
// local decomposition.
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override;
@@ -322,7 +322,7 @@ namespace drawinglayer
private:
// XXX: might have position of overflowing text
- ::basegfx::B2DHomMatrix const maTextRangeTransform; // text range transformation from unit range ([0.0 .. 1.0]) to text range
+ ::basegfx::B2DHomMatrix maTextRangeTransform; // text range transformation from unit range ([0.0 .. 1.0]) to text range
// local decomposition.
virtual void create2DDecomposition(Primitive2DContainer& rContainer, const geometry::ViewInformation2D& aViewInformation) const override;
diff --git a/svx/inc/xpolyimp.hxx b/svx/inc/xpolyimp.hxx
index 49831dd45aaf..425d2a551058 100644
--- a/svx/inc/xpolyimp.hxx
+++ b/svx/inc/xpolyimp.hxx
@@ -35,7 +35,7 @@ public:
Point* pOldPointAry;
bool bDeleteOldPoints;
sal_uInt16 nSize;
- sal_uInt16 const nResize;
+ sal_uInt16 nResize;
sal_uInt16 nPoints;
ImpXPolygon( sal_uInt16 nInitSize, sal_uInt16 nResize=16 );
diff --git a/svx/source/accessibility/svxrectctaccessiblecontext.cxx b/svx/source/accessibility/svxrectctaccessiblecontext.cxx
index 8162a0468b5b..1d767be13d91 100644
--- a/svx/source/accessibility/svxrectctaccessiblecontext.cxx
+++ b/svx/source/accessibility/svxrectctaccessiblecontext.cxx
@@ -54,7 +54,7 @@ namespace
{
const char* pResIdName;
const char* pResIdDescr;
- RectPoint const ePoint;
+ RectPoint ePoint;
};
}
diff --git a/svx/source/customshapes/EnhancedCustomShape3d.hxx b/svx/source/customshapes/EnhancedCustomShape3d.hxx
index c666c4353821..233b99441362 100644
--- a/svx/source/customshapes/EnhancedCustomShape3d.hxx
+++ b/svx/source/customshapes/EnhancedCustomShape3d.hxx
@@ -33,7 +33,7 @@ class EnhancedCustomShape3d final
{
class Transformation2D
{
- Point const aCenter;
+ Point aCenter;
css::drawing::ProjectionMode eProjectionMode;
// parallel projection
@@ -41,7 +41,7 @@ class EnhancedCustomShape3d final
double fSkew; // in percent
// perspective projection
- basegfx::B3DPoint fViewPoint;
+ basegfx::B3DPoint fViewPoint;
double fOriginX;
double fOriginY;
diff --git a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx
index cecc478ae66e..2ef6b040e6ce 100644
--- a/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeFunctionParser.cxx
@@ -94,7 +94,7 @@ namespace
class ConstantValueExpression : public ExpressionNode
{
- double const maValue;
+ double maValue;
public:
@@ -1099,7 +1099,7 @@ public:
}
private:
- ParserContextSharedPtr const mpParserContext; // might get modified during parsing
+ ParserContextSharedPtr mpParserContext; // might get modified during parsing
};
const ParserContextSharedPtr& getParserContext()
diff --git a/svx/source/customshapes/EnhancedCustomShapeHandle.hxx b/svx/source/customshapes/EnhancedCustomShapeHandle.hxx
index 831d47ab43f8..0fa64bbe4bcd 100644
--- a/svx/source/customshapes/EnhancedCustomShapeHandle.hxx
+++ b/svx/source/customshapes/EnhancedCustomShapeHandle.hxx
@@ -32,7 +32,7 @@ class EnhancedCustomShapeHandle : public cppu::WeakImplHelper
css::lang::XInitialization
>
{
- sal_uInt32 const mnIndex;
+ sal_uInt32 mnIndex;
css::uno::Reference< css::drawing::XShape > mxCustomShape;
public:
diff --git a/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx b/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx
index 4b257d9ffb7e..d97a73a7c52e 100644
--- a/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx
@@ -36,7 +36,7 @@ namespace {
struct NameTypeTable
{
const char* pS;
- MSO_SPT const pE;
+ MSO_SPT pE;
};
}
diff --git a/svx/source/dialog/framelinkarray.cxx b/svx/source/dialog/framelinkarray.cxx
index 3c4b8d3b3724..dd8081bf3f11 100644
--- a/svx/source/dialog/framelinkarray.cxx
+++ b/svx/source/dialog/framelinkarray.cxx
@@ -189,8 +189,8 @@ struct ArrayImpl
std::vector<long> maHeights;
mutable std::vector<long> maXCoords;
mutable std::vector<long> maYCoords;
- size_t const mnWidth;
- size_t const mnHeight;
+ size_t mnWidth;
+ size_t mnHeight;
size_t mnFirstClipCol;
size_t mnFirstClipRow;
size_t mnLastClipCol;
diff --git a/svx/source/dialog/srchdlg.cxx b/svx/source/dialog/srchdlg.cxx
index 10357d49f944..7af720d51c63 100644
--- a/svx/source/dialog/srchdlg.cxx
+++ b/svx/source/dialog/srchdlg.cxx
@@ -736,7 +736,7 @@ public:
}
private:
SvxSearchDialog& mrDialog;
- bool const mbValue;
+ bool mbValue;
};
}
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx
index 55a1b10f2c24..c0c7ce19beb1 100644
--- a/svx/source/fmcomp/gridctrl.cxx
+++ b/svx/source/fmcomp/gridctrl.cxx
@@ -131,7 +131,7 @@ class GridFieldValueListener : protected ::comphelper::OPropertyChangeListener
osl::Mutex m_aMutex;
DbGridControl& m_rParent;
rtl::Reference<::comphelper::OPropertyChangeMultiplexer> m_pRealListener;
- sal_uInt16 const m_nId;
+ sal_uInt16 m_nId;
sal_Int16 m_nSuspended;
bool m_bDisposed : 1;
diff --git a/svx/source/form/filtnav.cxx b/svx/source/form/filtnav.cxx
index 820315e0330d..4296f73f1a8d 100644
--- a/svx/source/form/filtnav.cxx
+++ b/svx/source/form/filtnav.cxx
@@ -176,7 +176,7 @@ namespace {
class FmFilterHint : public SfxHint
{
- FmFilterData* const m_pData;
+ FmFilterData* m_pData;
public:
explicit FmFilterHint(FmFilterData* pData):m_pData(pData){}
@@ -185,7 +185,7 @@ public:
class FmFilterInsertedHint : public FmFilterHint
{
- size_t const m_nPos; // Position relative to the parent of the data
+ size_t m_nPos; // Position relative to the parent of the data
public:
FmFilterInsertedHint(FmFilterData* pData, size_t nRelPos)
diff --git a/svx/source/form/fmdocumentclassification.cxx b/svx/source/form/fmdocumentclassification.cxx
index 16bde8e94857..43e485d3cd9a 100644
--- a/svx/source/form/fmdocumentclassification.cxx
+++ b/svx/source/form/fmdocumentclassification.cxx
@@ -77,8 +77,8 @@ namespace svxform
struct ModuleInfo
{
- const char* pAsciiModuleOrServiceName;
- DocumentType const eType;
+ const char* pAsciiModuleOrServiceName;
+ DocumentType eType;
};
diff --git a/svx/source/form/fmsrccfg.cxx b/svx/source/form/fmsrccfg.cxx
index f7827df23e3d..499d2cb16760 100644
--- a/svx/source/form/fmsrccfg.cxx
+++ b/svx/source/form/fmsrccfg.cxx
@@ -78,7 +78,7 @@ namespace svxform
struct Ascii2Int16
{
const char* pAscii;
- sal_Int16 const nValue;
+ sal_Int16 nValue;
};
}
diff --git a/svx/source/form/formcontrolling.cxx b/svx/source/form/formcontrolling.cxx
index 46aca133dbae..a73c161488c8 100644
--- a/svx/source/form/formcontrolling.cxx
+++ b/svx/source/form/formcontrolling.cxx
@@ -68,9 +68,9 @@ namespace svx
{
struct FeatureDescription
{
- OUString const sURL; // the URL
- sal_Int32 const nSlotId; // the SFX-compatible slot ID
- sal_Int16 const nFormFeature; // the css.form.runtime.FormFeature ID
+ OUString sURL; // the URL
+ sal_Int32 nSlotId; // the SFX-compatible slot ID
+ sal_Int16 nFormFeature; // the css.form.runtime.FormFeature ID
};
typedef ::std::vector< FeatureDescription > FeatureDescriptions;
@@ -121,7 +121,7 @@ namespace svx
struct MatchFeatureDescriptionBySlotId
{
- sal_Int32 const m_nSlotId;
+ sal_Int32 m_nSlotId;
explicit MatchFeatureDescriptionBySlotId( sal_Int32 _nSlotId ) :m_nSlotId( _nSlotId ) { }
bool operator()( const FeatureDescription& _compare )
@@ -133,7 +133,7 @@ namespace svx
struct MatchFeatureDescriptionByFormFeature
{
- sal_Int32 const m_nFormFeature;
+ sal_Int32 m_nFormFeature;
explicit MatchFeatureDescriptionByFormFeature( sal_Int32 _nFormFeature ) :m_nFormFeature( _nFormFeature ) { }
bool operator()( const FeatureDescription& _compare )
diff --git a/svx/source/form/tabwin.cxx b/svx/source/form/tabwin.cxx
index 4c9dec977c2f..d0470b471bdd 100644
--- a/svx/source/form/tabwin.cxx
+++ b/svx/source/form/tabwin.cxx
@@ -60,7 +60,7 @@ using namespace ::dbtools;
struct ColumnInfo
{
- OUString const sColumnName;
+ OUString sColumnName;
explicit ColumnInfo(const OUString& i_sColumnName)
: sColumnName(i_sColumnName)
{
diff --git a/svx/source/gallery2/galbrws1.hxx b/svx/source/gallery2/galbrws1.hxx
index 6cd5963374f4..3164aadcbb3b 100644
--- a/svx/source/gallery2/galbrws1.hxx
+++ b/svx/source/gallery2/galbrws1.hxx
@@ -54,7 +54,7 @@ private:
OUString aImgDefault;
OUString aImgReadOnly;
- ::std::function<void ()> const maThemeSlectionHandler;
+ ::std::function<void ()> maThemeSlectionHandler;
void ImplInsertThemeEntry( const GalleryThemeEntry* pEntry );
static void ImplFillExchangeData( const GalleryTheme* pThm, ExchangeData& rData );
diff --git a/svx/source/gallery2/galbrws2.cxx b/svx/source/gallery2/galbrws2.cxx
index 42856a8f030d..7a7179bd9c03 100644
--- a/svx/source/gallery2/galbrws2.cxx
+++ b/svx/source/gallery2/galbrws2.cxx
@@ -94,8 +94,8 @@ class GalleryThemePopup : public ::cppu::WeakImplHelper< css::frame::XStatusList
{
private:
const GalleryTheme* mpTheme;
- sal_uInt32 const mnObjectPos;
- bool const mbPreview;
+ sal_uInt32 mnObjectPos;
+ bool mbPreview;
std::unique_ptr<weld::Builder> mxBuilder;
std::unique_ptr<weld::Menu> mxPopupMenu;
std::unique_ptr<weld::Menu> mxBackgroundPopup;
diff --git a/svx/source/inc/AccessibleFrameSelector.hxx b/svx/source/inc/AccessibleFrameSelector.hxx
index 8dfd19675c95..26f30aa6726b 100644
--- a/svx/source/inc/AccessibleFrameSelector.hxx
+++ b/svx/source/inc/AccessibleFrameSelector.hxx
@@ -125,7 +125,7 @@ private:
FrameSelector* mpFrameSel;
- FrameBorderType const meBorder;
+ FrameBorderType meBorder;
};
diff --git a/svx/source/inc/charmapacc.hxx b/svx/source/inc/charmapacc.hxx
index 6ce383ad923a..71bcc63a4e88 100644
--- a/svx/source/inc/charmapacc.hxx
+++ b/svx/source/inc/charmapacc.hxx
@@ -45,7 +45,7 @@ namespace svx
struct SvxShowCharSetItem
{
SvxShowCharSet& mrParent;
- sal_uInt16 const mnId;
+ sal_uInt16 mnId;
OUString maText;
tools::Rectangle maRect;
rtl::Reference<SvxShowCharSetItemAcc> m_xItem;
diff --git a/svx/source/inc/datanavi.hxx b/svx/source/inc/datanavi.hxx
index a948c5e9190b..1b679c39a613 100644
--- a/svx/source/inc/datanavi.hxx
+++ b/svx/source/inc/datanavi.hxx
@@ -210,8 +210,8 @@ namespace svxform
class XFormsPage : public TabPage
{
private:
- MethodString const m_aMethodString;
- ReplaceString const m_aReplaceString;
+ MethodString m_aMethodString;
+ ReplaceString m_aReplaceString;
VclPtr<ToolBox> m_pToolBox;
VclPtr<DataTreeListBox> m_pItemList;
@@ -226,7 +226,7 @@ namespace svxform
VclPtr<DataNavigatorWindow> m_pNaviWin;
bool m_bHasModel;
- DataGroupType const m_eGroup;
+ DataGroupType m_eGroup;
// these strings are not valid on the Submission and Binding Page
// mb: furthermore these are properties of an instance, thus
// it would be much better to get/set them through the UIHelper
@@ -388,10 +388,10 @@ namespace svxform
ItemNode* m_pItemNode;
DataItemType m_eItemType;
- OUString const m_sFL_Element;
- OUString const m_sFL_Attribute;
- OUString const m_sFL_Binding;
- OUString const m_sFT_BindingExp;
+ OUString m_sFL_Element;
+ OUString m_sFL_Attribute;
+ OUString m_sFL_Binding;
+ OUString m_sFT_BindingExp;
std::unique_ptr<weld::Frame> m_xItemFrame;
std::unique_ptr<weld::Label> m_xNameFT;
@@ -436,7 +436,7 @@ namespace svxform
{
private:
Idle m_aResultIdle;
- OUString const m_sPropertyName;
+ OUString m_sPropertyName;
css::uno::Reference< css::xforms::XFormsUIHelper1 >
m_xUIHelper;
@@ -521,10 +521,10 @@ namespace svxform
class AddSubmissionDialog : public weld::GenericDialogController
{
private:
- MethodString const m_aMethodString;
- ReplaceString const m_aReplaceString;
+ MethodString m_aMethodString;
+ ReplaceString m_aReplaceString;
- ItemNode* const m_pItemNode;
+ ItemNode* m_pItemNode;
css::uno::Reference< css::xforms::XFormsUIHelper1 >
m_xUIHelper;
diff --git a/svx/source/inc/delayedevent.hxx b/svx/source/inc/delayedevent.hxx
index 4cda56f98947..4f7925c94b1d 100644
--- a/svx/source/inc/delayedevent.hxx
+++ b/svx/source/inc/delayedevent.hxx
@@ -61,7 +61,7 @@ namespace svxform
void CancelPendingCall();
private:
- Link<void*,void> const m_aHandler;
+ Link<void*,void> m_aHandler;
ImplSVEvent * m_nEventId;
private:
diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx
index f1002ad08d24..4a954f57b7fa 100644
--- a/svx/source/inc/docrecovery.hxx
+++ b/svx/source/inc/docrecovery.hxx
@@ -202,7 +202,7 @@ class RecoveryCore : public ::cppu::WeakImplHelper< css::frame::XStatusListener
on the core dispatch implementation, we must know,
which URL we have to use for deregistration!
*/
- bool const m_bListenForSaving;
+ bool m_bListenForSaving;
// native interface
@@ -384,9 +384,9 @@ class RecoveryDialog : public weld::GenericDialogController
{
// member
private:
- OUString const m_aTitleRecoveryInProgress;
- OUString const m_aRecoveryOnlyFinish;
- OUString const m_aRecoveryOnlyFinishDescr;
+ OUString m_aTitleRecoveryInProgress;
+ OUString m_aRecoveryOnlyFinish;
+ OUString m_aRecoveryOnlyFinishDescr;
RecoveryCore* m_pCore;
css::uno::Reference< css::task::XStatusIndicator > m_xProgress;
diff --git a/svx/source/inc/filtnav.hxx b/svx/source/inc/filtnav.hxx
index f2da82909840..f0cda9a442a0 100644
--- a/svx/source/inc/filtnav.hxx
+++ b/svx/source/inc/filtnav.hxx
@@ -54,7 +54,7 @@ class FmFilterAdapter;
class FmFilterData
{
- FmParentData* const m_pParent;
+ FmParentData* m_pParent;
OUString m_aText;
public:
@@ -126,8 +126,8 @@ public:
class FmFilterItem : public FmFilterData
{
- OUString const m_aFieldName;
- const sal_Int32 m_nComponentIndex;
+ OUString m_aFieldName;
+ sal_Int32 m_nComponentIndex;
public:
FmFilterItem(
diff --git a/svx/source/inc/fmexpl.hxx b/svx/source/inc/fmexpl.hxx
index bbeff968b63f..51384c8f279e 100644
--- a/svx/source/inc/fmexpl.hxx
+++ b/svx/source/inc/fmexpl.hxx
@@ -56,8 +56,8 @@ class SdrMarkList;
class FmEntryData;
class FmNavInsertedHint : public SfxHint
{
- FmEntryData* const pEntryData;
- sal_uInt32 const nPos;
+ FmEntryData* pEntryData;
+ sal_uInt32 nPos;
public:
FmNavInsertedHint( FmEntryData* pInsertedEntryData, sal_uInt32 nRelPos );
@@ -70,7 +70,7 @@ public:
class FmNavModelReplacedHint : public SfxHint
{
- FmEntryData* const pEntryData; // the data of the entry that has got a new model
+ FmEntryData* pEntryData; // the data of the entry that has got a new model
public:
FmNavModelReplacedHint( FmEntryData* pAffectedEntryData );
@@ -82,7 +82,7 @@ public:
class FmNavRemovedHint : public SfxHint
{
- FmEntryData* const pEntryData;
+ FmEntryData* pEntryData;
public:
FmNavRemovedHint( FmEntryData* pInsertedEntryData );
@@ -94,8 +94,8 @@ public:
class FmNavNameChangedHint : public SfxHint
{
- FmEntryData* const pEntryData;
- OUString const aNewName;
+ FmEntryData* pEntryData;
+ OUString aNewName;
public:
FmNavNameChangedHint( FmEntryData* pData, const OUString& rNewName );
diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx
index 3ca7a3bf2e1d..16cd751d1051 100644
--- a/svx/source/inc/fmshimp.hxx
+++ b/svx/source/inc/fmshimp.hxx
@@ -161,8 +161,8 @@ class SVXCORE_DLLPUBLIC FmXFormShell final : public FmXFormShell_BASE
FmFormArray m_aSearchForms;
struct SAL_DLLPRIVATE InvalidSlotInfo {
- sal_uInt16 const id;
- sal_uInt8 const flags;
+ sal_uInt16 id;
+ sal_uInt8 flags;
InvalidSlotInfo(sal_uInt16 slotId, sal_uInt8 flgs) : id(slotId), flags(flgs) {};
};
std::vector<InvalidSlotInfo> m_arrInvalidSlots;
diff --git a/svx/source/inc/fmtextcontroldialogs.hxx b/svx/source/inc/fmtextcontroldialogs.hxx
index 9b31af0a332a..613f17bf5c4a 100644
--- a/svx/source/inc/fmtextcontroldialogs.hxx
+++ b/svx/source/inc/fmtextcontroldialogs.hxx
@@ -29,7 +29,7 @@ namespace svx
class TextControlCharAttribDialog : public SfxTabDialogController
{
private:
- SvxFontListItem const m_aFontList;
+ SvxFontListItem m_aFontList;
public:
TextControlCharAttribDialog(weld::Window* pParent, const SfxItemSet& rCoreSet, const SvxFontListItem& rFontList);
diff --git a/svx/source/inc/fmtextcontrolfeature.hxx b/svx/source/inc/fmtextcontrolfeature.hxx
index e1e463838e41..0acc884bcd1d 100644
--- a/svx/source/inc/fmtextcontrolfeature.hxx
+++ b/svx/source/inc/fmtextcontrolfeature.hxx
@@ -40,9 +40,9 @@ namespace svx
private:
css::uno::Reference< css::frame::XDispatch >
m_xDispatcher;
- css::util::URL const m_aFeatureURL;
+ css::util::URL m_aFeatureURL;
css::uno::Any m_aFeatureState;
- SfxSlotId const m_nSlotId;
+ SfxSlotId m_nSlotId;
FmTextControlShell* m_pInvalidator;
bool m_bFeatureEnabled;
diff --git a/svx/source/inc/fmundo.hxx b/svx/source/inc/fmundo.hxx
index f5953ec1f7f1..d914a0e74071 100644
--- a/svx/source/inc/fmundo.hxx
+++ b/svx/source/inc/fmundo.hxx
@@ -46,9 +46,9 @@ class SdrObject;
class FmUndoPropertyAction: public SdrUndoAction
{
css::uno::Reference< css::beans::XPropertySet> xObj;
- OUString const aPropertyName;
- css::uno::Any const aNewValue;
- css::uno::Any const aOldValue;
+ OUString aPropertyName;
+ css::uno::Any aNewValue;
+ css::uno::Any aOldValue;
public:
FmUndoPropertyAction(FmFormModel& rMod, const css::beans::PropertyChangeEvent& evt);
@@ -94,7 +94,7 @@ private:
sal_Int32 m_nIndex; // index of the object within it's container
css::uno::Sequence< css::script::ScriptEventDescriptor >
m_aEvents; // events of the object
- Action const m_eAction;
+ Action m_eAction;
};
class FmUndoModelReplaceAction : public SdrUndoAction
diff --git a/svx/source/inc/formcontrolling.hxx b/svx/source/inc/formcontrolling.hxx
index 73de3d9538d9..dc93489c343c 100644
--- a/svx/source/inc/formcontrolling.hxx
+++ b/svx/source/inc/formcontrolling.hxx
@@ -70,7 +70,7 @@ namespace svx
*/
class ControllerFeatures final
{
- IControllerFeatureInvalidation* const m_pInvalidationCallback; // necessary as long as m_pImpl is not yet constructed
+ IControllerFeatureInvalidation* m_pInvalidationCallback; // necessary as long as m_pImpl is not yet constructed
rtl::Reference<FormControllerHelper> m_pImpl;
public:
diff --git a/svx/source/inc/gridcell.hxx b/svx/source/inc/gridcell.hxx
index 93511576956f..b46582e6f104 100644
--- a/svx/source/inc/gridcell.hxx
+++ b/svx/source/inc/gridcell.hxx
@@ -84,7 +84,7 @@ private:
sal_Int32 m_nFormatKey;
sal_Int16 m_nFieldType;
sal_Int16 m_nTypeId;
- sal_uInt16 const m_nId;
+ sal_uInt16 m_nId;
sal_Int16 m_nFieldPos;
sal_Int16 m_nAlign; // specified with TXT_ALIGN_LEFT...
bool m_bReadOnly : 1;
@@ -533,7 +533,7 @@ private:
class DbSpinField : public DbCellControl
{
private:
- sal_Int16 const m_nStandardAlign;
+ sal_Int16 m_nStandardAlign;
public:
diff --git a/svx/source/inc/svxpixelctlaccessiblecontext.hxx b/svx/source/inc/svxpixelctlaccessiblecontext.hxx
index f9f3d6a610f1..7610c1407bba 100644
--- a/svx/source/inc/svxpixelctlaccessiblecontext.hxx
+++ b/svx/source/inc/svxpixelctlaccessiblecontext.hxx
@@ -91,9 +91,9 @@ private:
SvxPixelCtl& mrParentWindow;
rtl::Reference<SvxPixelCtlAccessible> mxParent;
bool m_bPixelColorOrBG;//Pixel Color Or BackGround Color
- tools::Rectangle const maBoundingBox;
+ tools::Rectangle maBoundingBox;
/// index of child in parent
- long const mnIndexInParent;
+ long mnIndexInParent;
};
class SvxPixelCtlAccessible final : public ::comphelper::OAccessibleSelectionHelper,
diff --git a/svx/source/inc/svxrectctaccessiblecontext.hxx b/svx/source/inc/svxrectctaccessiblecontext.hxx
index 40b2551c9730..9ec7f00d48ac 100644
--- a/svx/source/inc/svxrectctaccessiblecontext.hxx
+++ b/svx/source/inc/svxrectctaccessiblecontext.hxx
@@ -207,25 +207,25 @@ private:
be set from the outside. Furthermore, it changes according to the
draw page's display mode.
*/
- OUString const msDescription;
+ OUString msDescription;
/** Name of this object. It changes according the draw page's
display mode.
*/
- OUString const msName;
+ OUString msName;
/// Reference to the parent object.
css::uno::Reference< css::accessibility::XAccessible >
- mxParent;
+ mxParent;
/// Bounding box
- tools::Rectangle const maBoundingBox;
+ tools::Rectangle maBoundingBox;
/// index of child in parent
- long const mnIndexInParent;
+ long mnIndexInParent;
/// Indicates, if object is checked
- bool mbIsChecked;
+ bool mbIsChecked;
};
diff --git a/svx/source/mnuctrls/smarttagmenu.cxx b/svx/source/mnuctrls/smarttagmenu.cxx
index 73a80f4b6e4a..6010750bfee9 100644
--- a/svx/source/mnuctrls/smarttagmenu.cxx
+++ b/svx/source/mnuctrls/smarttagmenu.cxx
@@ -47,7 +47,7 @@ private:
{
css::uno::Reference< css::smarttags::XSmartTagAction > m_xAction;
css::uno::Reference< css::container::XStringKeyMap > m_xSmartTagProperties;
- sal_uInt32 const m_nActionID;
+ sal_uInt32 m_nActionID;
InvokeAction( css::uno::Reference< css::smarttags::XSmartTagAction > const & xAction,
css::uno::Reference< css::container::XStringKeyMap > const & xSmartTagProperties,
sal_uInt32 nActionID ) : m_xAction( xAction ), m_xSmartTagProperties( xSmartTagProperties ), m_nActionID( nActionID ) {}
diff --git a/svx/source/sdr/attribute/sdrformtextattribute.cxx b/svx/source/sdr/attribute/sdrformtextattribute.cxx
index ab6cb0969200..77962bdb71a8 100644
--- a/svx/source/sdr/attribute/sdrformtextattribute.cxx
+++ b/svx/source/sdr/attribute/sdrformtextattribute.cxx
@@ -146,23 +146,23 @@ namespace drawinglayer::attribute
{
public:
// FormText (FontWork) Attributes
- sal_Int32 const mnFormTextDistance; // distance from line in upright direction
- sal_Int32 const mnFormTextStart; // shift from polygon start
- sal_Int32 const mnFormTextShdwXVal; // shadow distance or 10th degrees
- sal_Int32 const mnFormTextShdwYVal; // shadow distance or scaling
- sal_uInt16 const mnFormTextShdwTransp; // shadow transparence
- XFormTextStyle const meFormTextStyle; // on/off and char orientation
- XFormTextAdjust const meFormTextAdjust; // adjustment (left/right/center) and scale
- XFormTextShadow const meFormTextShadow; // shadow mode
- Color const maFormTextShdwColor; // shadow color
+ sal_Int32 mnFormTextDistance; // distance from line in upright direction
+ sal_Int32 mnFormTextStart; // shift from polygon start
+ sal_Int32 mnFormTextShdwXVal; // shadow distance or 10th degrees
+ sal_Int32 mnFormTextShdwYVal; // shadow distance or scaling
+ sal_uInt16 mnFormTextShdwTransp; // shadow transparence
+ XFormTextStyle meFormTextStyle; // on/off and char orientation
+ XFormTextAdjust meFormTextAdjust; // adjustment (left/right/center) and scale
+ XFormTextShadow meFormTextShadow; // shadow mode
+ Color maFormTextShdwColor; // shadow color
// outline attributes; used when getFormTextOutline() is true and (for
// shadow) when getFormTextShadow() != XFormTextShadow::NONE
SdrFormTextOutlineAttribute maOutline;
SdrFormTextOutlineAttribute maShadowOutline;
- bool const mbFormTextMirror : 1; // change orientation
- bool const mbFormTextOutline : 1; // show contour of objects
+ bool mbFormTextMirror : 1; // change orientation
+ bool mbFormTextOutline : 1; // show contour of objects
explicit ImpSdrFormTextAttribute(const SfxItemSet& rSet)
: mnFormTextDistance(rSet.Get(XATTR_FORMTXTDISTANCE).GetValue()),
diff --git a/svx/source/sdr/attribute/sdrformtextoutlineattribute.cxx b/svx/source/sdr/attribute/sdrformtextoutlineattribute.cxx
index a8079ffee2a3..fa23ff257618 100644
--- a/svx/source/sdr/attribute/sdrformtextoutlineattribute.cxx
+++ b/svx/source/sdr/attribute/sdrformtextoutlineattribute.cxx
@@ -30,9 +30,9 @@ namespace drawinglayer::attribute
{
public:
// one set of attributes for FormText (FontWork) outline visualisation
- LineAttribute const maLineAttribute;
- StrokeAttribute const maStrokeAttribute;
- sal_uInt8 const mnTransparence;
+ LineAttribute maLineAttribute;
+ StrokeAttribute maStrokeAttribute;
+ sal_uInt8 mnTransparence;
ImpSdrFormTextOutlineAttribute(
const LineAttribute& rLineAttribute,
diff --git a/svx/source/sdr/attribute/sdrtextattribute.cxx b/svx/source/sdr/attribute/sdrtextattribute.cxx
index cdbcb6561a27..b0b8bf8f336b 100644
--- a/svx/source/sdr/attribute/sdrtextattribute.cxx
+++ b/svx/source/sdr/attribute/sdrtextattribute.cxx
@@ -40,29 +40,29 @@ namespace drawinglayer::attribute
SdrFormTextAttribute maSdrFormTextAttribute;
// text distances
- sal_Int32 const maTextLeftDistance;
- sal_Int32 const maTextUpperDistance;
- sal_Int32 const maTextRightDistance;
- sal_Int32 const maTextLowerDistance;
+ sal_Int32 maTextLeftDistance;
+ sal_Int32 maTextUpperDistance;
+ sal_Int32 maTextRightDistance;
+ sal_Int32 maTextLowerDistance;
// #i101556# use versioning from text attributes to detect changes
sal_uInt32 maPropertiesVersion;
// text alignments
- SdrTextHorzAdjust const maSdrTextHorzAdjust;
- SdrTextVertAdjust const maSdrTextVertAdjust;
-
- bool const mbContour : 1;
- bool const mbFitToSize : 1;
- bool const mbAutoFit : 1;
- bool const mbHideContour : 1;
- bool const mbBlink : 1;
- bool const mbScroll : 1;
- bool const mbInEditMode : 1;
- bool const mbFixedCellHeight : 1;
- bool const mbWrongSpell : 1;
-
- bool const mbChainable : 1;
+ SdrTextHorzAdjust maSdrTextHorzAdjust;
+ SdrTextVertAdjust maSdrTextVertAdjust;
+
+ bool mbContour : 1;
+ bool mbFitToSize : 1;
+ bool mbAutoFit : 1;
+ bool mbHideContour : 1;
+ bool mbBlink : 1;
+ bool mbScroll : 1;
+ bool mbInEditMode : 1;
+ bool mbFixedCellHeight : 1;
+ bool mbWrongSpell : 1;
+
+ bool mbChainable : 1;
public:
diff --git a/svx/source/sdr/contact/viewobjectcontact.cxx b/svx/source/sdr/contact/viewobjectcontact.cxx
index eb62316d1642..3cad7e4699fe 100644
--- a/svx/source/sdr/contact/viewobjectcontact.cxx
+++ b/svx/source/sdr/contact/viewobjectcontact.cxx
@@ -50,10 +50,10 @@ protected:
drawinglayer::primitive2d::Primitive2DContainer maPrimitive2DSequence;
// text animation allowed?
- bool const mbTextAnimationAllowed : 1;
+ bool mbTextAnimationAllowed : 1;
// graphic animation allowed?
- bool const mbGraphicAnimationAllowed : 1;
+ bool mbGraphicAnimationAllowed : 1;
// as tooling, the process() implementation takes over API handling and calls this
// virtual render method when the primitive implementation is BasePrimitive2D-based.
diff --git a/svx/source/sidebar/area/AreaPropertyPanel.hxx b/svx/source/sidebar/area/AreaPropertyPanel.hxx
index 2a1572bab801..c22fbc7534f0 100644
--- a/svx/source/sidebar/area/AreaPropertyPanel.hxx
+++ b/svx/source/sidebar/area/AreaPropertyPanel.hxx
@@ -81,7 +81,7 @@ private:
::sfx2::sidebar::ControllerItem maFillTransparenceController;
::sfx2::sidebar::ControllerItem maFillFloatTransparenceController;
- SfxBindings* const mpBindings;
+ SfxBindings* mpBindings;
};
diff --git a/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx b/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx
index 1d1a8ce90c52..9dc3b6b0af9e 100644
--- a/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx
+++ b/svx/source/sidebar/graphic/GraphicPropertyPanel.hxx
@@ -64,7 +64,7 @@ private:
::sfx2::sidebar::ControllerItem maGammaControl;
::sfx2::sidebar::ControllerItem maModeControl;
- SfxBindings* const mpBindings;
+ SfxBindings* mpBindings;
//ui controls
std::unique_ptr<weld::MetricSpinButton> mxMtrBrightness;
diff --git a/svx/source/sidebar/line/LinePropertyPanel.hxx b/svx/source/sidebar/line/LinePropertyPanel.hxx
index c2ae25639db7..faf1bda87100 100644
--- a/svx/source/sidebar/line/LinePropertyPanel.hxx
+++ b/svx/source/sidebar/line/LinePropertyPanel.hxx
@@ -85,7 +85,7 @@ private:
sfx2::sidebar::ControllerItem maEdgeStyle;
sfx2::sidebar::ControllerItem maCapStyle;
- SfxBindings* const mpBindings;
+ SfxBindings* mpBindings;
vcl::EnumContext maContext;
};
diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx
index d3fd42d92f49..3efb7e64c036 100644
--- a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx
+++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx
@@ -112,7 +112,7 @@ private:
::sfx2::sidebar::ControllerItem m_aMetricCtl;
vcl::EnumContext maContext;
- SfxBindings* const mpBindings;
+ SfxBindings* mpBindings;
css::uno::Reference<css::ui::XSidebar> mxSidebar;
DECL_LINK(ModifyIndentHdl_Impl, weld::MetricSpinButton&, void);
diff --git a/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx b/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx
index b50d14d0a98b..51c8d071f474 100644
--- a/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx
+++ b/svx/source/sidebar/shadow/ShadowPropertyPanel.hxx
@@ -54,7 +54,7 @@ private:
::sfx2::sidebar::ControllerItem maShadowXDistanceController;
::sfx2::sidebar::ControllerItem maShadowYDistanceController;
- SfxBindings* const mpBindings;
+ SfxBindings* mpBindings;
long nX,nY,nXY;
std::unique_ptr<weld::CheckButton> mxShowShadow;
diff --git a/svx/source/stbctrls/pszctrl.cxx b/svx/source/stbctrls/pszctrl.cxx
index 13d3102fdce1..ebadad17cdd3 100644
--- a/svx/source/stbctrls/pszctrl.cxx
+++ b/svx/source/stbctrls/pszctrl.cxx
@@ -94,7 +94,7 @@ class FunctionPopup_Impl
{
VclBuilder m_aBuilder;
VclPtr<PopupMenu> m_xMenu;
- sal_uInt32 const m_nSelected;
+ sal_uInt32 m_nSelected;
static sal_uInt16 id_to_function(const OString& rIdent);
sal_uInt16 function_to_id(sal_uInt16 nFunc) const;
public:
diff --git a/svx/source/svdraw/svddrgm1.hxx b/svx/source/svdraw/svddrgm1.hxx
index 02cbe111de10..8a0fcca1a745 100644
--- a/svx/source/svdraw/svddrgm1.hxx
+++ b/svx/source/svdraw/svddrgm1.hxx
@@ -76,7 +76,7 @@ private:
bool bVertical; // contort vertically
bool bResize; // shear and resize
bool bUpSideDown; // mirror and shear/slant
- bool const bSlant;
+ bool bSlant;
public:
SdrDragShear(SdrDragView& rNewView,bool bSlant1);
@@ -121,7 +121,7 @@ private:
SdrHdlGradient* pIAOHandle;
// is this for gradient (or for transparency)?
- bool const bIsGradient : 1;
+ bool bIsGradient : 1;
public:
SdrDragGradient(SdrDragView& rNewView, bool bGrad = true);
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index d55d2964a46f..c5ddfef3dac4 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -414,7 +414,7 @@ protected:
drawinglayer::primitive2d::Primitive2DContainer maLastTextPrimitives;
/// bitfield
- bool const mbVisualizeSurroundingFrame : 1;
+ bool mbVisualizeSurroundingFrame : 1;
// geometry creation for OverlayObject, can use local *Last* values
virtual drawinglayer::primitive2d::Primitive2DContainer
diff --git a/svx/source/svdraw/svdfmtf.hxx b/svx/source/svdraw/svdfmtf.hxx
index 909df89360be..0e788bcd5ad0 100644
--- a/svx/source/svdraw/svdfmtf.hxx
+++ b/svx/source/svdraw/svdfmtf.hxx
@@ -47,13 +47,13 @@ class ImpSdrGDIMetaFileImport final
{
::std::vector< SdrObject* > maTmpList;
ScopedVclPtr<VirtualDevice> mpVD;
- tools::Rectangle const maScaleRect;
+ tools::Rectangle maScaleRect;
size_t mnMapScalingOfs; // from here on, not edited with MapScaling
std::unique_ptr<SfxItemSet> mpLineAttr;
std::unique_ptr<SfxItemSet> mpFillAttr;
std::unique_ptr<SfxItemSet> mpTextAttr;
SdrModel* mpModel;
- SdrLayerID const mnLayer;
+ SdrLayerID mnLayer;
Color maOldLineColor;
sal_Int32 mnLineWidth;
basegfx::B2DLineJoin maLineJoin;
diff --git a/svx/source/svdraw/svdhdl.cxx b/svx/source/svdraw/svdhdl.cxx
index bba86e63805f..fab9f7b03d73 100644
--- a/svx/source/svdraw/svdhdl.cxx
+++ b/svx/source/svdraw/svdhdl.cxx
@@ -78,7 +78,7 @@ namespace {
class SdrHdlBitmapSet
{
// the bitmap holding all information
- BitmapEx const maMarkersBitmap;
+ BitmapEx maMarkersBitmap;
// the cropped Bitmaps for reusage
::std::vector< BitmapEx > maRealMarkers;
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index 9ec4d346ad51..b08023a3fe0a 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -72,7 +72,7 @@ class ImplMarkingOverlay
basegfx::B2DPoint maSecondPosition;
// A flag to remember if the action is for unmarking.
- bool const mbUnmarking : 1;
+ bool mbUnmarking : 1;
public:
ImplMarkingOverlay(const SdrPaintView& rView, const basegfx::B2DPoint& rStartPos, bool bUnmarking);
diff --git a/svx/source/svdraw/svdopath.cxx b/svx/source/svdraw/svdopath.cxx
index f179033b822f..4ff57d767470 100644
--- a/svx/source/svdraw/svdopath.cxx
+++ b/svx/source/svdraw/svdopath.cxx
@@ -95,7 +95,7 @@ struct ImpSdrPathDragData : public SdrDragStatUserData
sal_uInt16 nNextNextPnt0;
bool bEliminate; // delete point? (is set by MovDrag)
- bool const mbMultiPointDrag;
+ bool mbMultiPointDrag;
const XPolyPolygon maOrig;
XPolyPolygon maMove;
std::vector<SdrHdl*> maHandles;
@@ -495,7 +495,7 @@ class ImpPathForDragAndCreate
{
SdrPathObj& mrSdrPathObject;
XPolyPolygon aPathPolygon;
- SdrObjKind const meObjectKind;
+ SdrObjKind meObjectKind;
std::unique_ptr<ImpSdrPathDragData>
mpSdrPathDragData;
bool mbCreating;
diff --git a/svx/source/svdraw/svdpdf.hxx b/svx/source/svdraw/svdpdf.hxx
index b7ff8beb7d71..74c17c1690b5 100644
--- a/svx/source/svdraw/svdpdf.hxx
+++ b/svx/source/svdraw/svdpdf.hxx
@@ -157,18 +157,18 @@ class ImpSdrPdfImport final
::std::vector<SdrObject*> maTmpList;
ScopedVclPtr<VirtualDevice> mpVD;
- tools::Rectangle const maScaleRect;
+ tools::Rectangle maScaleRect;
const std::shared_ptr<std::vector<sal_Int8>> mpPdfData;
size_t mnMapScalingOfs; // from here on, not edited with MapScaling
std::unique_ptr<SfxItemSet> mpLineAttr;
std::unique_ptr<SfxItemSet> mpFillAttr;
std::unique_ptr<SfxItemSet> mpTextAttr;
SdrModel* mpModel;
- SdrLayerID const mnLayer;
+ SdrLayerID mnLayer;
Color maOldLineColor;
sal_Int32 mnLineWidth;
static constexpr css::drawing::LineCap gaLineCap = css::drawing::LineCap_BUTT;
- XDash const maDash;
+ XDash maDash;
bool mbMov;
bool mbSize;
diff --git a/svx/source/svdraw/svdsnpv.cxx b/svx/source/svdraw/svdsnpv.cxx
index 804832e8bd3b..1fd9ac204fbe 100644
--- a/svx/source/svdraw/svdsnpv.cxx
+++ b/svx/source/svdraw/svdsnpv.cxx
@@ -101,9 +101,9 @@ class ImplHelpLineOverlay
basegfx::B2DPoint maPosition;
// HelpLine specific stuff
- SdrPageView* const mpPageView;
- sal_uInt16 const mnHelpLineNumber;
- SdrHelpLineKind const meHelpLineKind;
+ SdrPageView* mpPageView;
+ sal_uInt16 mnHelpLineNumber;
+ SdrHelpLineKind meHelpLineKind;
public:
ImplHelpLineOverlay(const SdrPaintView& rView, const basegfx::B2DPoint& rStartPos,
diff --git a/svx/source/table/tablehandles.cxx b/svx/source/table/tablehandles.cxx
index 796aa5ead4cd..8b579dab08fc 100644
--- a/svx/source/table/tablehandles.cxx
+++ b/svx/source/table/tablehandles.cxx
@@ -41,8 +41,8 @@ namespace {
class OverlayTableEdge : public sdr::overlay::OverlayObject
{
protected:
- basegfx::B2DPolyPolygon const maPolyPolygon;
- bool const mbVisible;
+ basegfx::B2DPolyPolygon maPolyPolygon;
+ bool mbVisible;
// geometry creation for OverlayObject
virtual drawinglayer::primitive2d::Primitive2DContainer createOverlayObjectPrimitive2DSequence() override;
diff --git a/svx/source/table/tablehandles.hxx b/svx/source/table/tablehandles.hxx
index f7d69fab07a1..89cec32e239d 100644
--- a/svx/source/table/tablehandles.hxx
+++ b/svx/source/table/tablehandles.hxx
@@ -59,7 +59,7 @@ protected:
virtual void CreateB2dIAObject() override;
private:
- bool const mbHorizontal;
+ bool mbHorizontal;
sal_Int32 mnMin, mnMax;
TableEdgeVector maEdges;
};
@@ -78,9 +78,9 @@ protected:
virtual void CreateB2dIAObject() override;
private:
- tools::Rectangle const maRectangle;
+ tools::Rectangle maRectangle;
- bool const mbAnimate : 1;
+ bool mbAnimate : 1;
};
} // end of namespace table
diff --git a/svx/source/table/tablertfimporter.cxx b/svx/source/table/tablertfimporter.cxx
index b82dd6ff3bcd..f8484a81c2e6 100644
--- a/svx/source/table/tablertfimporter.cxx
+++ b/svx/source/table/tablertfimporter.cxx
@@ -67,7 +67,7 @@ namespace {
struct RTFCellInfo
{
- SfxItemSet const maItemSet;
+ SfxItemSet maItemSet;
sal_Int32 mnStartPara;
sal_Int32 mnParaCount;
sal_Int32 mnCellX;
diff --git a/svx/source/table/tableundo.hxx b/svx/source/table/tableundo.hxx
index 72968311747f..5e9b870d5814 100644
--- a/svx/source/table/tableundo.hxx
+++ b/svx/source/table/tableundo.hxx
@@ -98,7 +98,7 @@ public:
private:
TableModelRef mxTable;
- sal_Int32 const mnIndex;
+ sal_Int32 mnIndex;
RowVector maRows;
bool mbUndo;
};
@@ -115,7 +115,7 @@ public:
private:
TableModelRef mxTable;
- sal_Int32 const mnIndex;
+ sal_Int32 mnIndex;
RowVector maRows;
bool mbUndo;
};
@@ -132,7 +132,7 @@ public:
private:
TableModelRef mxTable;
- sal_Int32 const mnIndex;
+ sal_Int32 mnIndex;
ColumnVector maColumns;
CellVector maCells;
bool mbUndo;
@@ -150,7 +150,7 @@ public:
private:
TableModelRef mxTable;
- sal_Int32 const mnIndex;
+ sal_Int32 mnIndex;
ColumnVector maColumns;
CellVector maCells;
bool mbUndo;
diff --git a/svx/source/table/viewcontactoftableobj.cxx b/svx/source/table/viewcontactoftableobj.cxx
index 8f57f94d96d5..fe6d03f1d900 100644
--- a/svx/source/table/viewcontactoftableobj.cxx
+++ b/svx/source/table/viewcontactoftableobj.cxx
@@ -53,8 +53,8 @@ namespace drawinglayer::primitive2d
class SdrCellPrimitive2D : public BufferedDecompositionPrimitive2D
{
private:
- basegfx::B2DHomMatrix const maTransform;
- attribute::SdrFillTextAttribute const maSdrFTAttribute;
+ basegfx::B2DHomMatrix maTransform;
+ attribute::SdrFillTextAttribute maSdrFTAttribute;
protected:
// local decomposition.
diff --git a/svx/source/tbxctrls/bulletsnumbering.cxx b/svx/source/tbxctrls/bulletsnumbering.cxx
index eefda3a79edd..423a56ee1d9c 100644
--- a/svx/source/tbxctrls/bulletsnumbering.cxx
+++ b/svx/source/tbxctrls/bulletsnumbering.cxx
@@ -28,7 +28,7 @@ class NumberingToolBoxControl;
class NumberingPopup : public WeldToolbarPopup
{
- NumberingPageType const mePageType;
+ NumberingPageType mePageType;
NumberingToolBoxControl& mrController;
std::unique_ptr<SvxNumValueSet> mxValueSet;
std::unique_ptr<weld::CustomWeld> mxValueSetWin;
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 90bb6f1aa3fd..b2781adf59fb 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -150,16 +150,16 @@ private:
SfxStyleFamily eStyleFamily;
sal_Int32 nCurSel;
bool bRelease;
- Size const aLogicalSize;
+ Size aLogicalSize;
Link<SvxStyleBox_Impl&,void> aVisibilityListener;
bool bVisible;
Reference< XDispatchProvider > m_xDispatchProvider;
Reference< XFrame > m_xFrame;
- OUString const m_aCommand;
- OUString const aClearFormatKey;
- OUString const aMoreKey;
+ OUString m_aCommand;
+ OUString aClearFormatKey;
+ OUString aMoreKey;
OUString sDefaultStyle;
- bool const bInSpecialMode;
+ bool bInSpecialMode;
VclPtr<MenuButton> m_pButtons[MAX_STYLES_ENTRIES];
VclBuilder m_aBuilder;
VclPtr<PopupMenu> m_pMenu;
@@ -183,7 +183,7 @@ private:
const FontList* pFontList;
::std::unique_ptr<FontList> m_aOwnFontList;
vcl::Font aCurFont;
- Size const aLogicalSize;
+ Size aLogicalSize;
OUString aCurText;
sal_uInt16 nFtCount;
bool bRelease;
diff --git a/svx/source/tbxctrls/tbunosearchcontrollers.cxx b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
index ccda505616b0..7d27ff2ae51d 100644
--- a/svx/source/tbxctrls/tbunosearchcontrollers.cxx
+++ b/svx/source/tbxctrls/tbunosearchcontrollers.cxx
@@ -725,7 +725,7 @@ public:
virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& rEvent ) override;
private:
- Type const meType;
+ Type meType;
};
UpDownSearchToolboxController::UpDownSearchToolboxController( const css::uno::Reference< css::uno::XComponentContext > & rxContext, Type eType )
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx
index 05ce231af093..4d3b120c23b8 100644
--- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx
+++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.hxx
@@ -36,11 +36,11 @@ struct DictionaryEntry final
~DictionaryEntry();
- OUString const m_aTerm;
- OUString const m_aMapping;
+ OUString m_aTerm;
+ OUString m_aMapping;
sal_Int16 m_nConversionPropertyType; //linguistic2::ConversionPropertyType
- bool const m_bNewEntry;
+ bool m_bNewEntry;
};
class DictionaryList
diff --git a/svx/source/unodraw/UnoGraphicExporter.cxx b/svx/source/unodraw/UnoGraphicExporter.cxx
index d178a8477e88..13a18338bd20 100644
--- a/svx/source/unodraw/UnoGraphicExporter.cxx
+++ b/svx/source/unodraw/UnoGraphicExporter.cxx
@@ -280,7 +280,7 @@ public:
const sdr::contact::DisplayInfo& rDisplayInfo) override;
private:
- SdrPage* const mpCurrentPage;
+ SdrPage* mpCurrentPage;
};
ImplExportCheckVisisbilityRedirector::ImplExportCheckVisisbilityRedirector( SdrPage* pCurrentPage )
diff --git a/svx/source/unodraw/UnoNameItemTable.hxx b/svx/source/unodraw/UnoNameItemTable.hxx
index db4a643d1a14..1bb0b8276bba 100644
--- a/svx/source/unodraw/UnoNameItemTable.hxx
+++ b/svx/source/unodraw/UnoNameItemTable.hxx
@@ -42,7 +42,7 @@ private:
SdrModel* mpModel;
SfxItemPool* mpModelPool;
sal_uInt16 mnWhich;
- sal_uInt8 const mnMemberId;
+ sal_uInt8 mnMemberId;
ItemPoolVector maItemSetVector;
diff --git a/svx/source/unodraw/UnoNamespaceMap.cxx b/svx/source/unodraw/UnoNamespaceMap.cxx
index d04006478cda..88c69e4c6bb5 100644
--- a/svx/source/unodraw/UnoNamespaceMap.cxx
+++ b/svx/source/unodraw/UnoNamespaceMap.cxx
@@ -47,8 +47,8 @@ namespace svx
class NamespaceMap : public WeakImplHelper< XNameAccess, XServiceInfo >
{
private:
- sal_uInt16* const mpWhichIds;
- SfxItemPool* const mpPool;
+ sal_uInt16* mpWhichIds;
+ SfxItemPool* mpPool;
public:
NamespaceMap( sal_uInt16* pWhichIds, SfxItemPool* pPool );
diff --git a/svx/source/unodraw/XPropertyTable.cxx b/svx/source/unodraw/XPropertyTable.cxx
index 7ebed700dac7..01e9e1dc4430 100644
--- a/svx/source/unodraw/XPropertyTable.cxx
+++ b/svx/source/unodraw/XPropertyTable.cxx
@@ -47,7 +47,7 @@ class SvxUnoXPropertyTable : public WeakImplHelper< container::XNameContainer, l
{
private:
XPropertyList* mpList;
- sal_Int16 const mnWhich;
+ sal_Int16 mnWhich;
long getCount() const { return mpList ? mpList->Count() : 0; }
const XPropertyEntry* get(long index) const;
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx
index 215e4a4a6f18..81ee656205d8 100644
--- a/svx/source/unodraw/unoshap2.cxx
+++ b/svx/source/unodraw/unoshap2.cxx
@@ -560,10 +560,10 @@ void SAL_CALL SvxShapeControl::setControl( const Reference< awt::XControlModel >
static struct
{
const char* mpAPIName;
- sal_uInt16 const mnAPINameLen;
+ sal_uInt16 mnAPINameLen;
const char* mpFormName;
- sal_uInt16 const mnFormNameLen;
+ sal_uInt16 mnFormNameLen;
}
const SvxShapeControlPropertyMapping[] =
{
@@ -620,8 +620,8 @@ namespace
struct EnumConversionMap
{
- style::ParagraphAdjust const nAPIValue;
- sal_Int16 const nFormValue;
+ style::ParagraphAdjust nAPIValue;
+ sal_Int16 nFormValue;
};
EnumConversionMap const aMapAdjustToAlign[] =
diff --git a/svx/source/xml/xmlgrhlp.cxx b/svx/source/xml/xmlgrhlp.cxx
index 719353e0d6f8..ed5b97aa15b9 100644
--- a/svx/source/xml/xmlgrhlp.cxx
+++ b/svx/source/xml/xmlgrhlp.cxx
@@ -997,7 +997,7 @@ protected:
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
private:
- SvXMLGraphicHelperMode const m_eGraphicHelperMode;
+ SvXMLGraphicHelperMode m_eGraphicHelperMode;
Reference< XGraphicObjectResolver > m_xGraphicObjectResolver;
Reference< XGraphicStorageHandler > m_xGraphicStorageHandler;
Reference< XBinaryStreamResolver > m_xBinaryStreamResolver;
diff --git a/svx/source/xml/xmlxtimp.cxx b/svx/source/xml/xmlxtimp.cxx
index 1b348cc26262..c66675513223 100644
--- a/svx/source/xml/xmlxtimp.cxx
+++ b/svx/source/xml/xmlxtimp.cxx
@@ -85,8 +85,8 @@ protected:
private:
uno::Reference< XNameContainer > mxTable;
- SvxXMLTableImportContextEnum const meContext;
- bool const mbOOoFormat;
+ SvxXMLTableImportContextEnum meContext;
+ bool mbOOoFormat;
};
}
diff --git a/svx/source/xoutdev/xtable.cxx b/svx/source/xoutdev/xtable.cxx
index f1f008f3190d..7ca5e98bc6ba 100644
--- a/svx/source/xoutdev/xtable.cxx
+++ b/svx/source/xoutdev/xtable.cxx
@@ -367,7 +367,7 @@ XPropertyList::CreatePropertyListFromURL( XPropertyListType t,
}
static struct {
- XPropertyListType const t;
+ XPropertyListType t;
const char *pExt;
} const pExtnMap[] = {
{ XPropertyListType::Color, "soc" },