diff options
author | Olivier Hallot <olivier.hallot@documentfoundation.org> | 2012-01-03 21:17:13 -0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-01-04 13:16:37 +0100 |
commit | e224197bda4fc17b0a2333a2af69c11577ec3ef4 (patch) | |
tree | b49bfaf57fec6bedcf19596f0f7b607e2378943d /reportdesign/source/filter/xml/xmlFixedContent.cxx | |
parent | 473a1a4a48003e926ebed16f3535f57bfcf371d9 (diff) |
Fix for fdo43460 Part XXVIII getLength() to isEmpty()
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; |