summaryrefslogtreecommitdiff
path: root/include/vcl/salbtype.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-12-16 09:14:24 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-12-16 13:39:39 +0100
commit0e1b831b93048c68735f2e2dbdcee587db4862ef (patch)
treeb159b42d827b024cd94bbfffa88e8c12c8151b7a /include/vcl/salbtype.hxx
parent0dc19268d2f82c4b95b1a0de28a19aea4e0f7e76 (diff)
CppunitTest_vcl_complextext: fix loplugin:cppunitassertequals warnings
Change-Id: I18b052cadb061535d7552f2ec1eac4b932489d22
Diffstat (limited to 'include/vcl/salbtype.hxx')
-rw-r--r--include/vcl/salbtype.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/vcl/salbtype.hxx b/include/vcl/salbtype.hxx
index a40f24f6eea8..ca5993b50455 100644
--- a/include/vcl/salbtype.hxx
+++ b/include/vcl/salbtype.hxx
@@ -137,6 +137,13 @@ public:
inline sal_uInt16 GetColorError( const BitmapColor& rBitmapColor ) const;
};
+template<typename charT, typename traits>
+inline std::basic_ostream<charT, traits>& operator <<(std::basic_ostream<charT, traits>& rStream, const BitmapColor& rColor)
+{
+ return rStream << "mcBlueOrIndex: " << (int)rColor.GetBlueOrIndex() << ", mcGreen: "
+ << (int)rColor.GetGreen() << ", mcRed: " << (int)rColor.GetRed() << ", mbIndex: " << (int)rColor.IsIndex();
+}
+
class Palette;
class VCL_DLLPUBLIC BitmapPalette