summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx')
-rw-r--r--sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx34
1 files changed, 17 insertions, 17 deletions
diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
index 587cf654d2d8..e18b82ebc888 100644
--- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
+++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx
@@ -39,15 +39,15 @@ struct ScMyActionInfo
struct ScMyCellInfo
{
ScCellValue maCell;
- OUString sFormulaAddress;
- OUString sFormula;
- OUString sInputString;
- double fValue;
- sal_Int32 nMatrixCols;
- sal_Int32 nMatrixRows;
- formula::FormulaGrammar::Grammar eGrammar;
- sal_uInt16 nType;
- ScMatrixMode nMatrixFlag;
+ OUString const sFormulaAddress;
+ OUString const sFormula;
+ OUString sInputString;
+ double const fValue;
+ sal_Int32 const nMatrixCols;
+ sal_Int32 const nMatrixRows;
+ formula::FormulaGrammar::Grammar const eGrammar;
+ sal_uInt16 const nType;
+ ScMatrixMode const nMatrixFlag;
ScMyCellInfo(
const ScCellValue& rCell, const OUString& sFormulaAddress, const OUString& sFormula,
@@ -61,7 +61,7 @@ struct ScMyCellInfo
struct ScMyDeleted
{
- sal_uInt32 nID = 0;
+ sal_uInt32 const nID = 0;
std::unique_ptr<ScMyCellInfo> pCellInfo;
ScMyDeleted(sal_uInt32 id, std::unique_ptr<ScMyCellInfo> p) : nID(id), pCellInfo(std::move(p)) {}
@@ -69,7 +69,7 @@ struct ScMyDeleted
struct ScMyGenerated
{
- ScBigRange aBigRange;
+ ScBigRange const aBigRange;
sal_uInt32 nID = 0;
std::unique_ptr<ScMyCellInfo> pCellInfo;
@@ -79,8 +79,8 @@ struct ScMyGenerated
struct ScMyInsertionCutOff
{
- sal_uInt32 nID;
- sal_Int32 nPosition;
+ sal_uInt32 const nID;
+ sal_Int32 const nPosition;
ScMyInsertionCutOff(const sal_uInt32 nTempID, const sal_Int32 nTempPosition) :
nID(nTempID), nPosition(nTempPosition) {}
@@ -88,9 +88,9 @@ struct ScMyInsertionCutOff
struct ScMyMoveCutOff
{
- sal_uInt32 nID;
- sal_Int32 nStartPosition;
- sal_Int32 nEndPosition;
+ sal_uInt32 const nID;
+ sal_Int32 const nStartPosition;
+ sal_Int32 const nEndPosition;
ScMyMoveCutOff(const sal_uInt32 nTempID, const sal_Int32 nStartPos, const sal_Int32 nEndPos) :
nID(nTempID), nStartPosition(nStartPos), nEndPosition(nEndPos) {}
@@ -114,7 +114,7 @@ struct ScMyBaseAction
sal_uInt32 nActionNumber;
sal_uInt32 nRejectingNumber;
sal_uInt32 nPreviousAction;
- ScChangeActionType nActionType;
+ ScChangeActionType const nActionType;
ScChangeActionState nActionState;
explicit ScMyBaseAction(const ScChangeActionType nActionType);