summaryrefslogtreecommitdiff
path: root/xmloff/source/style/csmaphdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/csmaphdl.cxx')
-rw-r--r--xmloff/source/style/csmaphdl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/style/csmaphdl.cxx b/xmloff/source/style/csmaphdl.cxx
index b877e106ce4f..e6bda045a0be 100644
--- a/xmloff/source/style/csmaphdl.cxx
+++ b/xmloff/source/style/csmaphdl.cxx
@@ -133,7 +133,7 @@ sal_Bool XMLCaseMapVariantHdl::exportXML( OUString& rStrExpValue, const uno::Any
}
rStrExpValue = aOut.makeStringAndClear();
- return rStrExpValue.getLength() != 0;
+ return !rStrExpValue.isEmpty();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */