summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/undo/unattr.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/undo/unattr.cxx b/sw/source/core/undo/unattr.cxx
index ca6a53f71e99..2c07bda259f0 100644
--- a/sw/source/core/undo/unattr.cxx
+++ b/sw/source/core/undo/unattr.cxx
@@ -120,6 +120,7 @@ SwUndoFormatAttr::SwUndoFormatAttr( SfxItemSet&& rOldSet,
, m_sFormatName ( rChgFormat.GetName() )
// #i56253#
, m_oOldSet( std::move( rOldSet ) )
+ , m_nAnchorContentOffset( 0 )
, m_nNodeIndex( 0 )
, m_nFormatWhich( rChgFormat.Which() )
, m_bSaveDrawPt( bSaveDrawPt )
@@ -134,6 +135,7 @@ SwUndoFormatAttr::SwUndoFormatAttr( const SfxPoolItem& rItem, SwFormat& rChgForm
: SwUndo( SwUndoId::INSFMTATTR, rChgFormat.GetDoc() )
, m_sFormatName(rChgFormat.GetName())
, m_oOldSet( rChgFormat.GetAttrSet().CloneAsValue( false ) )
+ , m_nAnchorContentOffset( 0 )
, m_nNodeIndex( 0 )
, m_nFormatWhich( rChgFormat.Which() )
, m_bSaveDrawPt( bSaveDrawPt )