diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-23 17:15:58 -0200 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@alta.org.br> | 2012-01-23 19:17:18 -0200 |
commit | f94399ef8023ad3b21528ecdc00e44366d4c3fe5 (patch) | |
tree | 2f560eefe134f3dfe49f7e35dcb1c3345750bf26 /writerperfect/source/wpsimp | |
parent | 558112542348bcbd754853847c968e2203abf269 (diff) |
Fix for fdo43460 Part XLV getLength() to isEmpty()
Part XLV
Modules
writerfilter, writerperfect
Diffstat (limited to 'writerperfect/source/wpsimp')
-rw-r--r-- | writerperfect/source/wpsimp/MSWorksImportFilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/wpsimp/MSWorksImportFilter.cxx b/writerperfect/source/wpsimp/MSWorksImportFilter.cxx index 10daff676a5a..55aa72966de6 100644 --- a/writerperfect/source/wpsimp/MSWorksImportFilter.cxx +++ b/writerperfect/source/wpsimp/MSWorksImportFilter.cxx @@ -191,7 +191,7 @@ throw( com::sun::star::uno::RuntimeException ) if ((confidence == WPS_CONFIDENCE_EXCELLENT) || (confidence == WPS_CONFIDENCE_GOOD)) sTypeName = OUString( RTL_CONSTASCII_USTRINGPARAM ( "writer_MS_Works_Document" ) ); - if (sTypeName.getLength()) + if (!sTypeName.isEmpty()) { if ( location == Descriptor.getLength() ) { |