summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/unins.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/undo/unins.cxx')
-rw-r--r--sw/source/core/undo/unins.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/unins.cxx b/sw/source/core/undo/unins.cxx
index 00c7b58e748a..f08cfa0ad176 100644
--- a/sw/source/core/undo/unins.cxx
+++ b/sw/source/core/undo/unins.cxx
@@ -699,7 +699,7 @@ void SwUndoReplace::Impl::UndoImpl(::sw::UndoRedoContext & rContext)
pNd->RestoreMetadata(m_pMetadataUndoStart);
}
- if (m_sOld.getLength())
+ if (!m_sOld.isEmpty())
{
pNd->InsertText( m_sOld, aIdx );
}