diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2010-02-23 19:04:41 -0500 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2010-02-23 19:04:41 -0500 |
commit | 2ab03deceb3343ca85fe0d87d952329d6ec3dde5 (patch) | |
tree | dea8f29baa9429d17a60f98f86b4bea6ec74b5d3 /sc/source/ui/inc/undotab.hxx | |
parent | b8cdea71ab986882c8590d1531a0e2ede4c51cb2 (diff) |
calctabcolor: Use STL's container instead of using an internal List. We should avoid using List at all cost!
Diffstat (limited to 'sc/source/ui/inc/undotab.hxx')
-rw-r--r-- | sc/source/ui/inc/undotab.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/inc/undotab.hxx b/sc/source/ui/inc/undotab.hxx index c158c9747da7..b7d095ea8732 100644 --- a/sc/source/ui/inc/undotab.hxx +++ b/sc/source/ui/inc/undotab.hxx @@ -238,7 +238,7 @@ public: const Color& aNTabBgColor); ScUndoSetTabBgColor( ScDocShell* pNewDocShell, - ScUndoSetTabBgColorInfoList* pUndoSetTabBgColorInfoList); + const ScUndoSetTabBgColorInfoList& rUndoTabColorList); virtual ~ScUndoSetTabBgColor(); virtual void Undo(); @@ -249,11 +249,11 @@ public: virtual String GetComment() const; private: - ScUndoSetTabBgColorInfoList* aUndoSetTabBgColorInfoList; + ScUndoSetTabBgColorInfoList aTabColorList; SCTAB nTab; Color aOldTabBgColor; Color aNewTabBgColor; - BOOL bIsMultipleUndo; + bool bIsMultipleUndo; void DoChange( SCTAB nTab, const Color& rTabBgColor ) const; void DoChange( BOOL bUndoType ) const; |