diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-11-10 10:24:35 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-11-10 10:36:17 +0100 |
commit | e49725438d34df305e7a4730c72034144994306d (patch) | |
tree | 2a59fe6718f04eec91611e137cdc12eef50d7c42 /sc/qa | |
parent | quick build fix until I can fix that properly (diff) | |
download | core-e49725438d34df305e7a4730c72034144994306d.tar.gz core-e49725438d34df305e7a4730c72034144994306d.zip |
Fix build.
Change-Id: I91599766e607b26d2c71006c9543a2bd952e228a
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/subsequent_export-test.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index 87a5f21388d7..8aff9e11b58a 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -2265,7 +2265,7 @@ void ScExportTest::testFunctionsExcel2010ODS() void ScExportTest::testSwappedOutImageExport() { - const OUString aFilterNames[] = { + const char* aFilterNames[] = { "calc8", "MS Excel 97", "Calc Office Open XML", @@ -2282,8 +2282,7 @@ void ScExportTest::testSwappedOutImageExport() // Check whether the export code swaps in the image which was swapped out before. ScDocShellRef xDocSh = loadDoc("document_with_two_images.", ODS); - const OString sFailedMessage = OString("Failed on filter: ") - + OUStringToOString(aFilterNames[nFilter], RTL_TEXTENCODING_ASCII_US); + const OString sFailedMessage = OString("Failed on filter: ") + aFilterNames[nFilter]; CPPUNIT_ASSERT_MESSAGE(sFailedMessage.getStr(), xDocSh.Is()); // Export the document and import again for a check |