diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-12-07 11:22:28 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-12-07 11:24:19 +0100 |
commit | 95af0a93c18aca545c40f9bda5e48bf60f61b3c8 (patch) | |
tree | 0c5665b556cf3972495f79946461517de01525fe /sc | |
parent | 6a31768bd5dc4637f4a62b568c38a8277f6ed3bc (diff) |
-Werror,-Wunused-result
Change-Id: I91633af096dd82960867f3ef6eb962b7b20c3960
Diffstat (limited to 'sc')
-rw-r--r-- | sc/qa/extras/macros-test.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/qa/extras/macros-test.cxx b/sc/qa/extras/macros-test.cxx index c5aa5a2e002a..4d63089cc4bb 100644 --- a/sc/qa/extras/macros-test.cxx +++ b/sc/qa/extras/macros-test.cxx @@ -141,8 +141,7 @@ void ScMacrosTest::testVba() rtl::OUString aFileName; createFileURL(testInfo[i].sFileBaseName, aFileExtension, aFileName); uno::Reference< com::sun::star::lang::XComponent > xComponent = loadFromDesktop(aFileName); - rtl::OUString sMsg( RTL_CONSTASCII_USTRINGPARAM("Failed to load ") ); - sMsg.concat( aFileName ); + rtl::OUString sMsg( "Failed to load " + aFileName ); CPPUNIT_ASSERT_MESSAGE( rtl::OUStringToOString( sMsg, RTL_TEXTENCODING_UTF8 ).getStr(), xComponent.is() ); String sUrl = testInfo[i].sMacroUrl; |