diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-01-28 15:40:51 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-01-28 15:41:03 +0100 |
commit | e0239bdc6a6389be727c341ad4b9a95c689277a6 (patch) | |
tree | 69df6bbd34730349429dff1aa29792b9bf2e8795 /filter/source/xmlfilteradaptor | |
parent | fec9228721ab0ff182b8d03eab2e6c288359ca52 (diff) |
Replace empty equalsAscii() with getLength().
Diffstat (limited to 'filter/source/xmlfilteradaptor')
-rw-r--r-- | filter/source/xmlfilteradaptor/XmlFilterAdaptor.cxx | 2 |
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; |