diff options
Diffstat (limited to 'test/source')
-rw-r--r-- | test/source/screenshot_test.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/screenshot_test.cxx b/test/source/screenshot_test.cxx index 84275b5f34d5..4e9e3723641f 100644 --- a/test/source/screenshot_test.cxx +++ b/test/source/screenshot_test.cxx @@ -74,7 +74,7 @@ void ScreenshotTest::implSaveScreenshot(const Bitmap& rScreenshot, const OString OUString aFullPath = m_directories.getPathFromWorkdir(OUStringToOString(aDirname + "/" + aBasename + ".png",RTL_TEXTENCODING_UTF8).getStr()); SvFileStream aNew(aFullPath, StreamMode::WRITE | StreamMode::TRUNC); - CPPUNIT_ASSERT_MESSAGE(OUStringToOString("Failed to open " + OUString::number(aNew.GetErrorCode()), RTL_TEXTENCODING_UTF8).getStr(), aNew.IsOpen()); + CPPUNIT_ASSERT_MESSAGE(OUStringToOString("Failed to open " + OUString::number(sal_uInt32(aNew.GetErrorCode())), RTL_TEXTENCODING_UTF8).getStr(), aNew.IsOpen()); vcl::PNGWriter aPNGWriter(rScreenshot); aPNGWriter.Write(aNew); |