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

-Werror,-Wunused-result

Change-Id: I91633af096dd82960867f3ef6eb962b7b20c3960
üst 6a31768b
......@@ -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;
......
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