summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlitemi.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/xml/xmlitemi.cxx')
-rw-r--r--sw/source/filter/xml/xmlitemi.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmlitemi.cxx b/sw/source/filter/xml/xmlitemi.cxx
index a04c95966455..956676721f05 100644
--- a/sw/source/filter/xml/xmlitemi.cxx
+++ b/sw/source/filter/xml/xmlitemi.cxx
@@ -208,7 +208,7 @@ sal_Bool SwXMLImportTableItemMapper_Impl::handleNoItem(
void SwXMLImportTableItemMapper_Impl::finished(
SfxItemSet & rSet, SvXMLUnitConverter const& rUnitConverter) const
{
- if (m_FoMarginValue.getLength())
+ if (!m_FoMarginValue.isEmpty())
{
sal_uInt16 const Ids[4][2] = {
{ RES_LR_SPACE, MID_L_MARGIN },