summaryrefslogtreecommitdiff
path: root/xmloff/source/transform/EventOOoTContext.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2012-01-27 16:46:15 -0200
committerOlivier Hallot <olivier.hallot@alta.org.br>2012-01-27 19:14:06 -0200
commit260054594c91af05f2825d512801200797d10075 (patch)
tree189a9b27389a76fa373b2f427b39acc4868971f9 /xmloff/source/transform/EventOOoTContext.cxx
parent983de9808159036bd5de008d895ba6e5566c99f6 (diff)
Fix for fdo43460 Part LIII getLength() to isEmpty()
Part LIII Modules xmloff (part 6)
Diffstat (limited to 'xmloff/source/transform/EventOOoTContext.cxx')
-rw-r--r--xmloff/source/transform/EventOOoTContext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/transform/EventOOoTContext.cxx b/xmloff/source/transform/EventOOoTContext.cxx
index 1e63de302a71..7fb6eb2ba349 100644
--- a/xmloff/source/transform/EventOOoTContext.cxx
+++ b/xmloff/source/transform/EventOOoTContext.cxx
@@ -216,7 +216,7 @@ void XMLEventOOoTransformerContext::StartElement(
}
}
- if( nMacroName != -1 && aLocation.getLength() > 0 )
+ if( nMacroName != -1 && !aLocation.isEmpty() )
{
if( !IsXMLToken( aLocation, XML_APPLICATION ) )
aLocation = GetXMLToken( XML_DOCUMENT );