summaryrefslogtreecommitdiff
path: root/svx/source/table
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/source/table
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/source/table')
-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
5 files changed, 12 insertions, 12 deletions
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.