writerperfect: Use appropriate OUString functions on string constants

Change-Id: Ieb4b5ea8d7f6b19d4311892a11a11bef2acbdf8b
This commit is contained in:
Stephan Bergmann
2014-12-15 10:21:42 +01:00
parent 857742d60f
commit f273d67076

View File

@@ -365,7 +365,7 @@ void ZipStorageImpl::traverse(const Reference<container::XNameAccess> &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;