summaryrefslogtreecommitdiff
path: root/include/basegfx/polygon/b2dpolypolygon.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-28 14:14:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-28 14:14:02 +0200
commit8c9f2efe621b7d5bc41e76b734a3fe9de90fa795 (patch)
tree0bf6116cd00af5eaa4fb5a1672af3ed5a07da516 /include/basegfx/polygon/b2dpolypolygon.hxx
parent06c1dc4c09ba816affb8b65e8215bcd56a81df91 (diff)
Make some basegfx operator << found by ADL
...as will be needed by some upcoming replacements of CPPUNIT_ASSERT with CPPUNIT_ASSERT_EQUAL Change-Id: I7c861f1cb81de4540e88d89dbf095acc61a56503
Diffstat (limited to 'include/basegfx/polygon/b2dpolypolygon.hxx')
-rw-r--r--include/basegfx/polygon/b2dpolypolygon.hxx28
1 files changed, 14 insertions, 14 deletions
diff --git a/include/basegfx/polygon/b2dpolypolygon.hxx b/include/basegfx/polygon/b2dpolypolygon.hxx
index c033989a722b..ddc05a669ceb 100644
--- a/include/basegfx/polygon/b2dpolypolygon.hxx
+++ b/include/basegfx/polygon/b2dpolypolygon.hxx
@@ -131,23 +131,23 @@ namespace basegfx
// typedef for a vector of B2DPolyPolygons
typedef ::std::vector< B2DPolyPolygon > B2DPolyPolygonVector;
-} // end of namespace basegfx
-
-template< typename charT, typename traits >
-inline std::basic_ostream<charT, traits> & operator <<(
- std::basic_ostream<charT, traits> & stream, const basegfx::B2DPolyPolygon& poly )
-{
- stream << "[" << poly.count() << ":";
- for (sal_uInt32 i = 0; i < poly.count(); i++)
+ template< typename charT, typename traits >
+ inline std::basic_ostream<charT, traits> & operator <<(
+ std::basic_ostream<charT, traits> & stream, const B2DPolyPolygon& poly )
{
- if (i > 0)
- stream << ",";
- stream << poly.getB2DPolygon(i);
+ stream << "[" << poly.count() << ":";
+ for (sal_uInt32 i = 0; i < poly.count(); i++)
+ {
+ if (i > 0)
+ stream << ",";
+ stream << poly.getB2DPolygon(i);
+ }
+ stream << "]";
+
+ return stream;
}
- stream << "]";
- return stream;
-}
+} // end of namespace basegfx
#endif // INCLUDED_BASEGFX_POLYGON_B2DPOLYPOLYGON_HXX