summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/unfmco.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/unfmco.cxx')
-rw-r--r--sw/source/core/undo/unfmco.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/unfmco.cxx b/sw/source/core/undo/unfmco.cxx
index 118cf98f399e..7ea43d0d5fef 100644
--- a/sw/source/core/undo/unfmco.cxx
+++ b/sw/source/core/undo/unfmco.cxx
@@ -27,7 +27,7 @@ SwUndoFormatColl::SwUndoFormatColl( const SwPaM& rRange,
const SwFormatColl* pColl,
const bool bReset,
const bool bResetListAttrs )
- : SwUndo( SwUndoId::SETFMTCOLL, rRange.GetDoc() ),
+ : SwUndo( SwUndoId::SETFMTCOLL, &rRange.GetDoc() ),
SwUndRng( rRange ),
mpHistory( new SwHistory ),
mbReset( bReset ),