summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unonrule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/uno/unonrule.cxx')
-rw-r--r--editeng/source/uno/unonrule.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/uno/unonrule.cxx b/editeng/source/uno/unonrule.cxx
index a0f977157e83..fa5275f158e9 100644
--- a/editeng/source/uno/unonrule.cxx
+++ b/editeng/source/uno/unonrule.cxx
@@ -350,7 +350,7 @@ void SvxUnoNumberingRules::setNumberingRuleByIndex( const Sequence< beans::Prope
OUString aStr;
if( aVal >>= aStr )
{
- if(aStr.getLength())
+ if(!aStr.isEmpty())
{
aFmt.SetBulletChar(aStr[0]);
}