Clean up string construction

Change-Id: I41ca0c7c9ac1892cc87eb4dbba858527aa340c75
This commit is contained in:
Stephan Bergmann
2017-08-23 17:15:38 +02:00
parent 9a19e96d0d
commit f8fa4631f3

View File

@@ -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();