summaryrefslogtreecommitdiff
path: root/writerperfect/source/wpgimp/WPGImportFilter.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect/source/wpgimp/WPGImportFilter.cxx')
-rw-r--r--writerperfect/source/wpgimp/WPGImportFilter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/wpgimp/WPGImportFilter.cxx b/writerperfect/source/wpgimp/WPGImportFilter.cxx
index e338b86f467a..97948803e9de 100644
--- a/writerperfect/source/wpgimp/WPGImportFilter.cxx
+++ b/writerperfect/source/wpgimp/WPGImportFilter.cxx
@@ -169,7 +169,7 @@ throw( com::sun::star::uno::RuntimeException )
if (libwpg::WPGraphics::isSupported(&input))
sTypeName = OUString( RTL_CONSTASCII_USTRINGPARAM ( "draw_WordPerfect_Graphics" ) );
- if (sTypeName.getLength())
+ if (!sTypeName.isEmpty())
{
if ( location == Descriptor.getLength() )
{