summaryrefslogtreecommitdiff
path: root/sw/inc/undobj.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-03-16 11:28:32 +0100
committerMichael Stahl <mst@openoffice.org>2010-03-16 11:28:32 +0100
commitb214ab9fe52eb4944dd50978b6ad19af95047bdf (patch)
treecbab92fbb3f8d28c6eb5cebbda708c4b16e89e0f /sw/inc/undobj.hxx
parentd9ce85c09cf70b6582a1365be1277e23ba058495 (diff)
odfmetadata4: #i109599#: clean up SwUndoDelSection, and move it to unsect.cxx
Diffstat (limited to 'sw/inc/undobj.hxx')
-rw-r--r--sw/inc/undobj.hxx14
1 files changed, 1 insertions, 13 deletions
diff --git a/sw/inc/undobj.hxx b/sw/inc/undobj.hxx
index 50adb46b6689..fc2b44162909 100644
--- a/sw/inc/undobj.hxx
+++ b/sw/inc/undobj.hxx
@@ -1411,19 +1411,7 @@ public:
void SetUpdtFtnFlag(bool const bFlag) { m_bUpdateFtn = bFlag; }
};
-class SwUndoDelSection : public SwUndo
-{
- ULONG nSttNd, nEndNd;
- ::std::auto_ptr<SwSectionData> m_pSectionData; /// set iff section not TOX
- ::std::auto_ptr<SwTOXBase> m_pTOXBase; /// set iff section is TOX
- SfxItemSet* pAttr;
-public:
- SwUndoDelSection( const SwSectionFmt& );
- virtual ~SwUndoDelSection();
- virtual void Undo( SwUndoIter& );
- virtual void Redo( SwUndoIter& );
- OUT_UNDOBJ( SwUndoDelSection )
-};
+SW_DLLPRIVATE SwUndo * MakeUndoDelSection(SwSectionFmt const&);
class SwUndoChgSection : public SwUndo
{