diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-09-22 16:38:12 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-09-23 00:08:28 +0200 |
commit | 05f5c12da968bd53337e832805894c048aad2c6c (patch) | |
tree | 8f26b69ddefe287073931c3e6f8709791b05821a /include | |
parent | 8644a3114d412e8de6cc6712c2f2bcad436906c9 (diff) |
put vcl::Region operator<< in the vcl namespace
Clang says it belongs there when vcl::Region is used
in CPPUNIT_ASSERT_EQUAL.
Change-Id: I457d7b35e9b2ca37909118467da8018d40ab18a0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122461
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/region.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/region.hxx b/include/vcl/region.hxx index 579d6e2c4fad..8d5004c18efd 100644 --- a/include/vcl/region.hxx +++ b/include/vcl/region.hxx @@ -132,11 +132,9 @@ public: static vcl::Region GetRegionFromPolyPolygon( const tools::PolyPolygon& rPolyPoly ); }; -} /* namespace vcl */ - template< typename charT, typename traits > inline std::basic_ostream<charT, traits> & operator <<( - std::basic_ostream<charT, traits> & stream, const vcl::Region& rRegion) + std::basic_ostream<charT, traits> & stream, const Region& rRegion) { if (rRegion.IsEmpty()) return stream << "EMPTY"; @@ -162,6 +160,8 @@ inline std::basic_ostream<charT, traits> & operator <<( return stream; } +} /* namespace vcl */ + #endif // INCLUDED_VCL_REGION_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |