summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-15 10:21:42 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-15 10:21:42 +0100
commitf273d6707685816a1eddc849d66f828c4666f5dc (patch)
tree7f782a4022d3f4aae548a8bf9e5aa652f05d24f7 /writerperfect
parent857742d60f579826cbd0ca5a5336348484714b2c (diff)
writerperfect: Use appropriate OUString functions on string constants
Change-Id: Ieb4b5ea8d7f6b19d4311892a11a11bef2acbdf8b
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx2
1 files changed, 1 insertions, 1 deletions
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<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;