summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-08-23 17:15:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-08-23 17:15:38 +0200
commitf8fa4631f35799f1afeec2ecba7eec5bbdba95e5 (patch)
tree7e8e370c631328ae671be72fd6c9ddeb89a883f7 /sc
parent9a19e96d0d9df032d51748c02adb4fe778291afd (diff)
Clean up string construction
Change-Id: I41ca0c7c9ac1892cc87eb4dbba858527aa340c75
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/subsequent_filters-test.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index 86a67c2cea91..32712ca12ee4 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -3939,8 +3939,7 @@ void ScFiltersTest::testUnicodeFileNameGnumeric()
if (osl_getThreadTextEncoding() != RTL_TEXTENCODING_UTF8) {
return;
}
- OString aFileNamePrefix= "t" + OString(RTL_CONSTASCII_STRINGPARAM("\u00e4\u00df")) + "t.";
- ScDocShellRef xDocSh = loadDoc(OStringToOUString(aFileNamePrefix, RTL_TEXTENCODING_UTF8), FORMAT_GNUMERIC);
+ ScDocShellRef xDocSh = loadDoc(u"t\u00E4\u00DFt.", FORMAT_GNUMERIC);
CPPUNIT_ASSERT(xDocSh.is());
xDocSh->DoClose();