Kaydet (Commit) 81ce0f37 authored tarafından Miklos Vajna's avatar Miklos Vajna

filter: fix loplugin:cppunitassertequals warnings

Change-Id: Ibb80377a581d70501dbd243307e883057508e67f
üst a2b77b43
......@@ -69,9 +69,9 @@ void PriorityFilterTest::testPriority()
aMsg.append("' should be '");
aMsg.append(aFormatCorrect);
aMsg.append("'");
CPPUNIT_ASSERT_MESSAGE(rtl::OUStringToOString(aMsg.makeStringAndClear(),
CPPUNIT_ASSERT_EQUAL_MESSAGE(rtl::OUStringToOString(aMsg.makeStringAndClear(),
RTL_TEXTENCODING_UTF8).getStr(),
aTypeName == aFormatCorrect);
aFormatCorrect, aTypeName);
}
catch (const uno::Exception &e)
{
......
......@@ -76,7 +76,7 @@ void XsltFilterTest::testXsltCopyNew()
oslFileHandle tempFile;
OUString tempURL;
osl::File::RC rc = osl::File::createTempFile(nullptr, &tempFile, &tempURL);
CPPUNIT_ASSERT(osl::FileBase::E_None == rc);
CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, rc);
osl_closeFile(tempFile); // close it so xSFA can open it on WNT
OUString source(
......@@ -133,7 +133,7 @@ void XsltFilterTest::testXsltCopyOld()
oslFileHandle tempFile;
OUString tempURL;
osl::File::RC rc = osl::File::createTempFile(nullptr, &tempFile, &tempURL);
CPPUNIT_ASSERT(osl::FileBase::E_None == rc);
CPPUNIT_ASSERT_EQUAL(osl::FileBase::E_None, rc);
osl_closeFile(tempFile); // close it so xSFA can open it on WNT
OUString source(
......
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