summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unosett.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unosett.cxx')
-rw-r--r--sw/source/core/unocore/unosett.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unosett.cxx b/sw/source/core/unocore/unosett.cxx
index 76cf9c8cf488..d347c0cf93c5 100644
--- a/sw/source/core/unocore/unosett.cxx
+++ b/sw/source/core/unocore/unosett.cxx
@@ -1925,7 +1925,7 @@ void SwXNumberingRules::SetNumberingRuleByIndex(
{
// #i93725#
// do not accept "empty" font
- if ( pDesc->Name.getLength() > 0 )
+ if ( !pDesc->Name.isEmpty() )
{
Font aFont;
SvxUnoFontDescriptor::ConvertToFont( *pDesc, aFont );