diff options
Diffstat (limited to 'tools/qa/cppunit/test_color.cxx')
-rw-r--r-- | tools/qa/cppunit/test_color.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/qa/cppunit/test_color.cxx b/tools/qa/cppunit/test_color.cxx index 15d90e388e60..10da454b9497 100644 --- a/tools/qa/cppunit/test_color.cxx +++ b/tools/qa/cppunit/test_color.cxx @@ -62,10 +62,9 @@ void Test::test_asRGBColor() void Test::test_readAndWriteStream() { SvMemoryStream aStream; - Color aWriteColor(0x12, 0x34, 0x56); Color aReadColor; - WriteColor(aStream, aWriteColor); + WriteColor(aStream, Color(0x12, 0x34, 0x56)); aStream.Seek(STREAM_SEEK_TO_BEGIN); |