From e8bbb76827dd7a0e30d7d1db34a812a84d85f390 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 9 Oct 2011 21:23:17 +0100 Subject: ensure correct export size type in stream operation --- editeng/qa/items/borderline_test.cxx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'editeng/qa') diff --git a/editeng/qa/items/borderline_test.cxx b/editeng/qa/items/borderline_test.cxx index 519d916fe57b..80a840c72389 100644 --- a/editeng/qa/items/borderline_test.cxx +++ b/editeng/qa/items/borderline_test.cxx @@ -48,6 +48,25 @@ using namespace editeng; +CPPUNIT_NS_BEGIN + +template<> struct assertion_traits +{ + static bool equal( const SvxBorderStyle& x, const SvxBorderStyle& y ) + { + return x == y; + } + + static std::string toString( const SvxBorderStyle& x ) + { + OStringStream ost; + ost << static_cast(x); + return ost.str(); + } +}; + +CPPUNIT_NS_END + namespace { class BorderLineTest : public CppUnit::TestFixture -- cgit