sd/qa/unit/sdmodeltestbase.hxx | 19 ------------------- 1 file changed, 19 deletions(-)
New commits: commit 2ef1439ae90b3621198728b4e1e67b2e72fc376c Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Mon Dec 12 18:08:44 2022 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Mon Dec 12 21:54:46 2022 +0000 SdModelTestBase: remove duplicated template this is already defined in include/tools/gen.hxx Change-Id: I6d837298491e92f942dad5cd49d8ef723a19356d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144008 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sd/qa/unit/sdmodeltestbase.hxx b/sd/qa/unit/sdmodeltestbase.hxx index 08e3a8e7fbc3..f651419c776b 100644 --- a/sd/qa/unit/sdmodeltestbase.hxx +++ b/sd/qa/unit/sdmodeltestbase.hxx @@ -172,23 +172,4 @@ public: } }; -CPPUNIT_NS_BEGIN - -template <> struct assertion_traits<tools::Rectangle> -{ - static bool equal(const tools::Rectangle& r1, const tools::Rectangle& r2) { return r1 == r2; } - - static std::string toString(const tools::Rectangle& r) - { - OStringStream ost; - ost << "Rect P: [" << r.Top() << ", " << r.Left() - << "] " - "S: [" - << r.GetWidth() << ", " << r.GetHeight() << "]"; - return ost.str(); - } -}; - -CPPUNIT_NS_END - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */