summaryrefslogtreecommitdiff
path: root/filter/source/xmlfilteradaptor
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-28 15:40:51 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-28 15:41:03 +0100
commite0239bdc6a6389be727c341ad4b9a95c689277a6 (patch)
tree69df6bbd34730349429dff1aa29792b9bf2e8795 /filter/source/xmlfilteradaptor
parentfec9228721ab0ff182b8d03eab2e6c288359ca52 (diff)
Replace empty equalsAscii() with getLength().
Diffstat (limited to 'filter/source/xmlfilteradaptor')
-rw-r--r--filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
index cf13627d3463..b82ec15a9bd3 100644
--- a/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
+++ b/filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx
@@ -151,7 +151,7 @@ sal_Bool SAL_CALL XmlFilterAdaptor::importImpl( const Sequence< ::com::sun::star
//********************
//Template Loading if Required
//********************
- if (!msTemplateName.equalsAscii("")){
+ if (msTemplateName.getLength()){
Reference< XStyleFamiliesSupplier > xstylefamiliessupplier(mxDoc, UNO_QUERY);
Reference< XNameAccess >xName;