summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/undotab.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/undotab.hxx')
-rw-r--r--sc/source/ui/inc/undotab.hxx68
1 files changed, 34 insertions, 34 deletions
diff --git a/sc/source/ui/inc/undotab.hxx b/sc/source/ui/inc/undotab.hxx
index 31866fb6a9cc..e7df53065f46 100644
--- a/sc/source/ui/inc/undotab.hxx
+++ b/sc/source/ui/inc/undotab.hxx
@@ -55,11 +55,11 @@ public:
virtual OUString GetComment() const override;
private:
- OUString sNewName;
+ OUString const sNewName;
std::unique_ptr<SdrUndoAction> pDrawUndo;
- sal_uLong nEndChangeAction;
- SCTAB nTab;
- bool bAppend;
+ sal_uLong nEndChangeAction;
+ SCTAB const nTab;
+ bool const bAppend;
void SetChangeTrack();
};
@@ -84,9 +84,9 @@ private:
std::unique_ptr<SdrUndoAction> pDrawUndo;
std::vector<OUString> aNameList;
- sal_uLong nStartChangeAction;
- sal_uLong nEndChangeAction;
- SCTAB nTab;
+ sal_uLong nStartChangeAction;
+ sal_uLong nEndChangeAction;
+ SCTAB const nTab;
void SetChangeTrack();
};
@@ -134,7 +134,7 @@ public:
virtual OUString GetComment() const override;
private:
- SCTAB nTab;
+ SCTAB const nTab;
OUString sOldName;
OUString sNewName;
@@ -242,12 +242,12 @@ public:
private:
std::unique_ptr<ScMarkData> mpMarkData;
- SCTAB nSrcTab;
- SCTAB nDestTab;
- OUString aName;
- OUString aComment;
- Color aColor;
- ScScenarioFlags nFlags;
+ SCTAB const nSrcTab;
+ SCTAB const nDestTab;
+ OUString const aName;
+ OUString const aComment;
+ Color const aColor;
+ ScScenarioFlags const nFlags;
std::unique_ptr<SdrUndoAction> pDrawUndo;
};
@@ -267,8 +267,8 @@ public:
virtual OUString GetComment() const override;
private:
- SCTAB nTab;
- SCTAB nCount;
+ SCTAB const nTab;
+ SCTAB const nCount;
ScDocumentUniquePtr xRedoDoc;
std::unique_ptr<SdrUndoAction> pDrawUndo;
@@ -291,7 +291,7 @@ public:
virtual OUString GetComment() const override;
private:
- OUString aDocName;
+ OUString const aDocName;
OUString aFltName;
OUString aOptions;
sal_uLong nRefreshDelay;
@@ -323,8 +323,8 @@ public:
virtual OUString GetComment() const override;
private:
- std::vector<SCTAB> undoTabs;
- bool bShow;
+ std::vector<SCTAB> const undoTabs;
+ bool const bShow;
void DoChange( bool bShow ) const;
};
@@ -367,7 +367,7 @@ public:
virtual OUString GetComment() const override;
private:
- SCTAB mnTab;
+ SCTAB const mnTab;
::std::unique_ptr<ScTableProtection> mpProtectSettings;
void DoProtect(bool bProtect);
@@ -416,15 +416,15 @@ public:
virtual OUString GetComment() const override;
private:
- SCTAB nTab;
- OUString aOldName;
- OUString aNewName;
- OUString aOldComment;
- OUString aNewComment;
- Color aOldColor;
- Color aNewColor;
- ScScenarioFlags nOldFlags;
- ScScenarioFlags nNewFlags;
+ SCTAB const nTab;
+ OUString const aOldName;
+ OUString const aNewName;
+ OUString const aOldComment;
+ OUString const aNewComment;
+ Color const aOldColor;
+ Color const aNewColor;
+ ScScenarioFlags const nOldFlags;
+ ScScenarioFlags const nNewFlags;
};
class ScUndoRenameObject: public ScSimpleUndo
@@ -444,9 +444,9 @@ public:
virtual OUString GetComment() const override;
private:
- OUString aPersistName; // to find object (works only for OLE objects)
- OUString aOldName;
- OUString aNewName;
+ OUString const aPersistName; // to find object (works only for OLE objects)
+ OUString const aOldName;
+ OUString const aNewName;
SdrObject* GetObject();
};
@@ -465,8 +465,8 @@ public:
virtual OUString GetComment() const override;
private:
- SCTAB nTab;
- bool bRTL;
+ SCTAB const nTab;
+ bool const bRTL;
void DoChange( bool bNew );
};