diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx index 3c22f9d3b341..5e23f6dd8b52 100644 --- a/writerperfect/source/common/WPXSvInputStream.cxx +++ b/writerperfect/source/common/WPXSvInputStream.cxx @@ -365,7 +365,7 @@ void ZipStorageImpl::traverse(const Reference &rxContain for (sal_Int32 n = 0; n < lNames.getLength(); ++n) { - if (!lNames[n].endsWithAsciiL("/", 1)) // skip dirs + if (!lNames[n].endsWith("/")) // skip dirs { maStreams.push_back(ZipStreamData(rtl::OUStringToOString(lNames[n], RTL_TEXTENCODING_UTF8))); maNameMap[lNames[n]] = maStreams.size() - 1;