diff options
Diffstat (limited to 'sw/source/core/doc/docbm.cxx')
-rw-r--r-- | sw/source/core/doc/docbm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx index a3ce1310739b..fdbddb521ecf 100644 --- a/sw/source/core/doc/docbm.cxx +++ b/sw/source/core/doc/docbm.cxx @@ -833,7 +833,7 @@ namespace sw { namespace mark ::rtl::OUString MarkManager::getUniqueMarkName(const ::rtl::OUString& rName) const { - OSL_ENSURE(rName.getLength(), + OSL_ENSURE(!rName.isEmpty(), "<MarkManager::getUniqueMarkName(..)>" " - a name should be proposed"); if(!hasMark(rName)) return rName; |