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 <xiscofauli@libreoffice.org>
This commit is contained in:
Xisco Fauli
2022-12-12 21:54:46 +00:00
parent 0e5d89a149
commit 2ef1439ae9
-19
View File
@@ -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: */