[Libreoffice-commits] core.git: include/vcl
LuboÅ¡ LuÅák (via logerrit)
logerrit at kemper.freedesktop.org
Wed Dec 2 10:55:24 UTC 2020
include/vcl/region.hxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit e32cebc36be252d9a72c700d31b9dbbb11b58b91
Author: Luboš Luňák <l.lunak at collabora.com>
AuthorDate: Tue Dec 1 16:48:28 2020 +0100
Commit: Luboš Luňák <l.lunak at collabora.com>
CommitDate: Wed Dec 2 11:54:38 2020 +0100
make debug output for vcl::Region also print tools PolyPolygon
I implemented operator>> for tools PolyPolygon in 5553bb974a44721e,
so it can now be used here instead of printing "unimplemented".
Change-Id: I7542ab2e24613eee464eb8086142fd596ca7aad3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106998
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak at collabora.com>
diff --git a/include/vcl/region.hxx b/include/vcl/region.hxx
index 92dd9deb12df..e6c7448e36c1 100644
--- a/include/vcl/region.hxx
+++ b/include/vcl/region.hxx
@@ -148,7 +148,9 @@ inline std::basic_ostream<charT, traits> & operator <<(
<< *rRegion.getB2DPolyPolygon()
<< ")";
if (rRegion.getPolyPolygon())
- return stream << "unimplemented";
+ return stream << "PolyPolygon("
+ << *rRegion.getPolyPolygon()
+ << ")";
if (rRegion.getRegionBand())
{ // inlined because RegionBand is private to vcl
stream << "RegionBand(";
More information about the Libreoffice-commits
mailing list