summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/inc/undostyl.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/undostyl.hxx')
-rw-r--r--sc/source/ui/inc/undostyl.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/inc/undostyl.hxx b/sc/source/ui/inc/undostyl.hxx
index 972905cd031f..c5d5f425a919 100644
--- a/sc/source/ui/inc/undostyl.hxx
+++ b/sc/source/ui/inc/undostyl.hxx
@@ -49,9 +49,9 @@ public:
class ScUndoModifyStyle: public ScSimpleUndo
{
private:
- SfxStyleFamily eFamily;
- ScStyleSaveData aOldData;
- ScStyleSaveData aNewData;
+ SfxStyleFamily const eFamily;
+ ScStyleSaveData const aOldData;
+ ScStyleSaveData const aNewData;
static void DoChange( ScDocShell* pDocSh,
const OUString& rName, SfxStyleFamily eStyleFamily,
@@ -91,13 +91,13 @@ private:
struct ApplyStyleEntry
{
SCTAB mnTab;
- OUString maOldStyle;
+ OUString const maOldStyle;
explicit ApplyStyleEntry( SCTAB nTab, const OUString& rOldStyle );
};
typedef ::std::vector< ApplyStyleEntry > ApplyStyleVec;
ApplyStyleVec maEntries;
- OUString maNewStyle;
+ OUString const maNewStyle;
};
#endif