summaryrefslogtreecommitdiff
path: root/xmloff/source/style/chrlohdl.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-25 21:59:48 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-25 21:59:48 -0200
commit3dbb89e5a39e7811d2fc0c1fbad012c3d565396b (patch)
treec30b07e879ad20c5bded2291296f9633c273ab5e /xmloff/source/style/chrlohdl.cxx
parent4228c5542b57b43064bbefb3cc79c4eb51e059d6 (diff)
Fix for fdo43460 Part XLVIII getLength() to isEmpty()
Part XLVIII Modules xmloff (part 2)
Diffstat (limited to 'xmloff/source/style/chrlohdl.cxx')
-rw-r--r--xmloff/source/style/chrlohdl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/style/chrlohdl.cxx b/xmloff/source/style/chrlohdl.cxx
index 33b3dfafe872..36710a7df1d8 100644
--- a/xmloff/source/style/chrlohdl.cxx
+++ b/xmloff/source/style/chrlohdl.cxx
@@ -88,7 +88,7 @@ sal_Bool XMLCharLanguageHdl::exportXML( OUString& rStrExpValue, const uno::Any&
rStrExpValue = aLocale.Language;
- if( !rStrExpValue.getLength() )
+ if( rStrExpValue.isEmpty() )
rStrExpValue = GetXMLToken( XML_NONE );
return sal_True;
@@ -136,7 +136,7 @@ sal_Bool XMLCharCountryHdl::exportXML( OUString& rStrExpValue, const uno::Any& r
rStrExpValue = aLocale.Country;
- if( !rStrExpValue.getLength() )
+ if( rStrExpValue.isEmpty() )
rStrExpValue = GetXMLToken( XML_NONE );
return sal_True;