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 /writerperfect | |
parent | fec9228721ab0ff182b8d03eab2e6c288359ca52 (diff) |
Replace empty equalsAscii() with getLength().
Diffstat (limited to 'writerperfect')
-rw-r--r-- | writerperfect/source/wpgimp/WPGImportFilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/wpgimp/WPGImportFilter.cxx b/writerperfect/source/wpgimp/WPGImportFilter.cxx index 8a1f92d97041..1d6859088e15 100644 --- a/writerperfect/source/wpgimp/WPGImportFilter.cxx +++ b/writerperfect/source/wpgimp/WPGImportFilter.cxx @@ -175,7 +175,7 @@ OUString SAL_CALL WPGImportFilter::detect( com::sun::star::uno::Sequence< Proper if (input) delete input; - if (!sTypeName.equalsAscii("")) + if (sTypeName.getLength()) { if ( location == Descriptor.getLength() ) { |