diff options
Diffstat (limited to 'reportdesign/source/filter/xml/xmlFixedContent.cxx')
-rw-r--r-- | reportdesign/source/filter/xml/xmlFixedContent.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/filter/xml/xmlFixedContent.cxx b/reportdesign/source/filter/xml/xmlFixedContent.cxx index 99c8969d89c2..292f9e96d7da 100644 --- a/reportdesign/source/filter/xml/xmlFixedContent.cxx +++ b/reportdesign/source/filter/xml/xmlFixedContent.cxx @@ -223,10 +223,10 @@ void OXMLFixedContent::EndElement() void OXMLFixedContent::Characters( const ::rtl::OUString& rChars ) { m_sLabel += rChars; - if ( rChars.getLength() ) + if ( !rChars.isEmpty() ) { static const ::rtl::OUString s_Quote(RTL_CONSTASCII_USTRINGPARAM("\"")); - if ( m_sPageText.getLength() ) + if ( !m_sPageText.isEmpty() ) { static const ::rtl::OUString s_sStringConcat(RTL_CONSTASCII_USTRINGPARAM(" & ")); m_sPageText += s_sStringConcat; |