summaryrefslogtreecommitdiff
path: root/sw/inc/undobj.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-12-15 09:14:12 +0100
committerMichael Stahl <mst@openoffice.org>2010-12-15 09:14:12 +0100
commit16045587b5442195b4a3936437d780d62f7c42bc (patch)
tree934898840612b43e3fb299530bd4cb2f6d225364 /sw/inc/undobj.hxx
parent65a3c2385c45d2f7fc4bfdbe97be2d3de46bc3af (diff)
undoapi: #i115383#: replace SwUndos with STL vector
Diffstat (limited to 'sw/inc/undobj.hxx')
-rw-r--r--sw/inc/undobj.hxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/sw/inc/undobj.hxx b/sw/inc/undobj.hxx
index 6cf431f0df31..8becca4114ba 100644
--- a/sw/inc/undobj.hxx
+++ b/sw/inc/undobj.hxx
@@ -79,7 +79,6 @@ class SvxTabStopItem;
class SwDDEFieldType;
class Graphic;
class SwGrfNode;
-class SwUndos;
class SwFtnInfo;
class SwEndNoteInfo;
class SwNodeIndex;
@@ -795,12 +794,15 @@ public:
};
-// Basis-Klasse fuer Insert von Dokument, Glossaries und Kopieren
+
+class SwUndoInsLayFmt;
+
+// base class for insertion of Document, Glossaries and Copy
class SwUndoInserts : public SwUndo, public SwUndRng, private SwUndoSaveCntnt
{
SwTxtFmtColl *pTxtFmtColl, *pLastNdColl;
SvPtrarr* pFrmFmts;
- SwUndos* pFlyUndos;
+ ::std::vector< ::boost::shared_ptr<SwUndoInsLayFmt> > m_FlyUndos;
SwRedlineData* pRedlData;
BOOL bSttWasTxtNd;
protected:
@@ -928,11 +930,13 @@ public:
virtual void RedoImpl( ::sw::UndoRedoContext & );
};
+class SwUndoTblNumFmt;
+
class SwUndoTblAutoFmt : public SwUndo
{
ULONG nSttNode;
_SaveTable* pSaveTbl;
- SwUndos* pUndos;
+ ::std::vector< ::boost::shared_ptr<SwUndoTblNumFmt> > m_Undos;
BOOL bSaveCntntAttr;
void UndoRedo(bool const bUndo, ::sw::UndoRedoContext & rContext);