diff options
Diffstat (limited to 'xmloff/source/style/chrlohdl.cxx')
-rw-r--r-- | xmloff/source/style/chrlohdl.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/xmloff/source/style/chrlohdl.cxx b/xmloff/source/style/chrlohdl.cxx index ceef4c0a6b48..d10f8a8990c8 100644 --- a/xmloff/source/style/chrlohdl.cxx +++ b/xmloff/source/style/chrlohdl.cxx @@ -241,10 +241,7 @@ bool XMLCharScriptHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue // For non-ISO language it does not make sense to write *:script if // *:language is not written either, does it? It's all in // *:rfc-language-tag - if (aLanguage.isEmpty() || rStrExpValue.isEmpty()) - return false; - - return true; + return !aLanguage.isEmpty() && !rStrExpValue.isEmpty(); } XMLCharCountryHdl::~XMLCharCountryHdl() |