diff options
Diffstat (limited to 'sw/source/core/undo/unattr.cxx')
-rw-r--r-- | sw/source/core/undo/unattr.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/undo/unattr.cxx b/sw/source/core/undo/unattr.cxx index 0401f3b4be17..d2c584884ac6 100644 --- a/sw/source/core/undo/unattr.cxx +++ b/sw/source/core/undo/unattr.cxx @@ -871,8 +871,7 @@ void SwUndoDefaultAttr::UndoImpl(::sw::UndoRedoContext & rContext) } if (m_pTabStop) { - std::unique_ptr<SvxTabStopItem> pOld(static_cast<SvxTabStopItem*>( - rDoc.GetDefault( RES_PARATR_TABSTOP ).Clone() )); + std::unique_ptr<SvxTabStopItem> pOld(rDoc.GetDefault(RES_PARATR_TABSTOP).Clone()); rDoc.SetDefault( *m_pTabStop ); m_pTabStop = std::move( pOld ); } |