Kaydet (Commit) f8fa4631 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Clean up string construction

Change-Id: I41ca0c7c9ac1892cc87eb4dbba858527aa340c75
üst 9a19e96d
...@@ -3939,8 +3939,7 @@ void ScFiltersTest::testUnicodeFileNameGnumeric() ...@@ -3939,8 +3939,7 @@ void ScFiltersTest::testUnicodeFileNameGnumeric()
if (osl_getThreadTextEncoding() != RTL_TEXTENCODING_UTF8) { if (osl_getThreadTextEncoding() != RTL_TEXTENCODING_UTF8) {
return; return;
} }
OString aFileNamePrefix= "t" + OString(RTL_CONSTASCII_STRINGPARAM("\u00e4\u00df")) + "t."; ScDocShellRef xDocSh = loadDoc(u"t\u00E4\u00DFt.", FORMAT_GNUMERIC);
ScDocShellRef xDocSh = loadDoc(OStringToOUString(aFileNamePrefix, RTL_TEXTENCODING_UTF8), FORMAT_GNUMERIC);
CPPUNIT_ASSERT(xDocSh.is()); CPPUNIT_ASSERT(xDocSh.is());
xDocSh->DoClose(); xDocSh->DoClose();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment