summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/layerexport.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/forms/layerexport.cxx')
-rw-r--r--xmloff/source/forms/layerexport.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/forms/layerexport.cxx b/xmloff/source/forms/layerexport.cxx
index d5c42f19839a..887389056f31 100644
--- a/xmloff/source/forms/layerexport.cxx
+++ b/xmloff/source/forms/layerexport.cxx
@@ -566,7 +566,7 @@ namespace xmloff
if (xCurrentReference.is())
{
::rtl::OUString& sReferencedBy = m_aCurrentPageReferring->second[xCurrentReference];
- if (sReferencedBy.getLength())
+ if (!sReferencedBy.isEmpty())
// it's not the first _rxObject referring to the xCurrentReference
// -> separate the id
sReferencedBy += ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(","));
@@ -642,7 +642,7 @@ namespace xmloff
if ( xColumnPropertiesMeta.is() && xColumnPropertiesMeta->hasPropertyByName( PROPERTY_FORMATKEY ) )
sColumnNumberStyle = getImmediateNumberStyle( xColumnProperties );
- if ( sColumnNumberStyle.getLength() )
+ if ( !sColumnNumberStyle.isEmpty() )
{ // the column indeed has a formatting
sal_Int32 nStyleMapIndex = m_xStyleExportMapper->getPropertySetMapper()->FindEntryIndex( CTF_FORMS_DATA_STYLE );
// TODO: move this to the ctor