diff options
-rw-r--r-- | sw/qa/extras/uiwriter/uiwriter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx index dc9004b335b0..a40f4c034c44 100644 --- a/sw/qa/extras/uiwriter/uiwriter.cxx +++ b/sw/qa/extras/uiwriter/uiwriter.cxx @@ -193,9 +193,9 @@ void SwUiWriterTest::testExportRTF() OString aData(static_cast<const sal_Char*>(aStream.GetBuffer()), aStream.GetSize()); CPPUNIT_ASSERT(aData.startsWith("{\\rtf1")); - CPPUNIT_ASSERT_EQUAL(-1, aData.indexOf("aaa")); + CPPUNIT_ASSERT_EQUAL(sal_Int32(-1), aData.indexOf("aaa")); CPPUNIT_ASSERT(aData.indexOf("bbb") != -1); - CPPUNIT_ASSERT_EQUAL(-1, aData.indexOf("ccc")); + CPPUNIT_ASSERT_EQUAL(sal_Int32(-1), aData.indexOf("ccc")); } CPPUNIT_TEST_SUITE_REGISTRATION(SwUiWriterTest); |