include/vcl/salbtype.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit bc99e56a3173f99298a590232bfa9e9ff0125f61 Author: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> AuthorDate: Thu Feb 14 22:09:00 2019 +0100 Commit: Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk> CommitDate: Fri Feb 15 19:43:40 2019 +0100 BitmapColor string representation - fix proper padding Change-Id: I42727152e71b2dce4c2b5ce71f9a54464388a7fb diff --git a/include/vcl/salbtype.hxx b/include/vcl/salbtype.hxx index ec953d209030..8a0f8bb6e424 100644 --- a/include/vcl/salbtype.hxx +++ b/include/vcl/salbtype.hxx @@ -133,7 +133,10 @@ public: template<typename charT, typename traits> inline std::basic_ostream<charT, traits>& operator <<(std::basic_ostream<charT, traits>& rStream, const BitmapColor& rColor) { - return rStream << "#(" << std::hex << std::setfill ('0') << std::setw(2) << static_cast<int>(rColor.GetRed()) << static_cast<int>(rColor.GetGreen()) << static_cast<int>(rColor.GetBlueOrIndex()) << static_cast<int>(rColor.GetAlpha()) << ")"; + return rStream << "#(" << std::hex << std::setfill ('0') << std::setw(2) << static_cast<int>(rColor.GetRed()) + << std::setw(2) << static_cast<int>(rColor.GetGreen()) + << std::setw(2) << static_cast<int>(rColor.GetBlueOrIndex()) + << std::setw(2) << static_cast<int>(rColor.GetAlpha()) << ")"; } class VCL_DLLPUBLIC BitmapPalette _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits