summaryrefslogtreecommitdiff
path: root/xmlscript/source/xmlmod_imexp
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-28 09:31:35 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-28 09:32:37 -0200
commit9d4e1a5dadede021922abcb00d346fe496240ab4 (patch)
tree3a87a45392f8b06f70dcab08f66d07f416c25a21 /xmlscript/source/xmlmod_imexp
parent57dacf1328e4cff53c108f627b3be2b3329f0e90 (diff)
Fix for fdo43460 Part LIV getLength() to isEmpty()
Part LIV Modules xmlscript
Diffstat (limited to 'xmlscript/source/xmlmod_imexp')
-rw-r--r--xmlscript/source/xmlmod_imexp/xmlmod_export.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xmlmod_imexp/xmlmod_export.cxx b/xmlscript/source/xmlmod_imexp/xmlmod_export.cxx
index f44632a5b0fb..8114fd560f97 100644
--- a/xmlscript/source/xmlmod_imexp/xmlmod_export.cxx
+++ b/xmlscript/source/xmlmod_imexp/xmlmod_export.cxx
@@ -65,7 +65,7 @@ SAL_CALL exportScriptModule(
rMod.aName );
pModElement->addAttribute( OUString( RTL_CONSTASCII_USTRINGPARAM(XMLNS_SCRIPT_PREFIX ":language") ),
rMod.aLanguage );
- if( rMod.aModuleType.getLength()>0 )
+ if( !rMod.aModuleType.isEmpty() )
pModElement->addAttribute( OUString( RTL_CONSTASCII_USTRINGPARAM(XMLNS_SCRIPT_PREFIX ":moduleType") ),
rMod.aModuleType );