diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 14:14:02 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-04-28 14:14:02 +0200 |
commit | 8c9f2efe621b7d5bc41e76b734a3fe9de90fa795 (patch) | |
tree | 0bf6116cd00af5eaa4fb5a1672af3ed5a07da516 /include/basegfx/point | |
parent | LIBO_INTERNAL_ONLY: printing of css::uno::Reference/Type (diff) | |
download | core-8c9f2efe621b7d5bc41e76b734a3fe9de90fa795.tar.gz core-8c9f2efe621b7d5bc41e76b734a3fe9de90fa795.zip |
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/point')
-rw-r--r-- | include/basegfx/point/b2dpoint.hxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/include/basegfx/point/b2dpoint.hxx b/include/basegfx/point/b2dpoint.hxx index f757cac731da..0f1613252091 100644 --- a/include/basegfx/point/b2dpoint.hxx +++ b/include/basegfx/point/b2dpoint.hxx @@ -123,14 +123,15 @@ namespace basegfx matrix are used. */ BASEGFX_DLLPUBLIC B2DPoint operator*( const B2DHomMatrix& rMat, const B2DPoint& rPoint ); -} // end of namespace basegfx -template< typename charT, typename traits > -inline std::basic_ostream<charT, traits> & operator <<( - std::basic_ostream<charT, traits> & stream, const basegfx::B2DPoint& point ) -{ - return stream << "(" << point.getX() << "," << point.getY() << ")"; -} + template< typename charT, typename traits > + inline std::basic_ostream<charT, traits> & operator <<( + std::basic_ostream<charT, traits> & stream, const B2DPoint& point ) + { + return stream << "(" << point.getX() << "," << point.getY() << ")"; + } + +} // end of namespace basegfx #endif // INCLUDED_BASEGFX_POINT_B2DPOINT_HXX |