summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/unnum.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/unnum.cxx')
-rw-r--r--sw/source/core/undo/unnum.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/undo/unnum.cxx b/sw/source/core/undo/unnum.cxx
index 603567544bff..d7d517a5f37f 100644
--- a/sw/source/core/undo/unnum.cxx
+++ b/sw/source/core/undo/unnum.cxx
@@ -323,14 +323,14 @@ void SwUndoNumOrNoNum::RepeatImpl(::sw::RepeatContext & rContext)
}
SwUndoNumRuleStart::SwUndoNumRuleStart( const SwPosition& rPos, bool bFlg )
- : SwUndo( SwUndoId::SETNUMRULESTART, rPos.GetDoc() ),
+ : SwUndo( SwUndoId::SETNUMRULESTART, &rPos.GetDoc() ),
m_nIndex( rPos.nNode.GetIndex() ), m_nOldStart( USHRT_MAX ),
m_nNewStart( USHRT_MAX ), m_bSetStartValue( false ), m_bFlag( bFlg )
{
}
SwUndoNumRuleStart::SwUndoNumRuleStart( const SwPosition& rPos, sal_uInt16 nStt )
- : SwUndo(SwUndoId::SETNUMRULESTART, rPos.GetDoc())
+ : SwUndo(SwUndoId::SETNUMRULESTART, &rPos.GetDoc())
, m_nIndex(rPos.nNode.GetIndex())
, m_nOldStart(USHRT_MAX)
, m_nNewStart(nStt)