-Werror,-Wunused-result

Change-Id: I91633af096dd82960867f3ef6eb962b7b20c3960
This commit is contained in:
Stephan Bergmann
2012-12-07 11:22:28 +01:00
parent 6a31768bd5
commit 95af0a93c1

View File

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