diff options
Diffstat (limited to 'test/source/sheet/xsheetcellrangecontainer.cxx')
-rw-r--r-- | test/source/sheet/xsheetcellrangecontainer.cxx | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/test/source/sheet/xsheetcellrangecontainer.cxx b/test/source/sheet/xsheetcellrangecontainer.cxx index e18bff3ba226..b68e09a7ffe2 100644 --- a/test/source/sheet/xsheetcellrangecontainer.cxx +++ b/test/source/sheet/xsheetcellrangecontainer.cxx @@ -8,6 +8,7 @@ */ #include <test/sheet/xsheetcellrangecontainer.hxx> +#include <test/cppunitasserthelper.hxx> #include <com/sun/star/sheet/XSheetCellRangeContainer.hpp> @@ -19,26 +20,6 @@ using namespace com::sun::star; using namespace com::sun::star::uno; -CPPUNIT_NS_BEGIN - -template<> struct assertion_traits<table::CellRangeAddress> -{ - static bool equal(const table::CellRangeAddress& x, const table::CellRangeAddress& y) - { - return x == y; - } - - static std::string toString( const table::CellRangeAddress& x ) - { - OStringStream ost; - ost << "Sheet: " << x.Sheet << " StartColumn: " << x.StartColumn << " StartRow: " << x.StartRow - << " EndColumn: " << x.EndColumn << " EndRow: " << x.EndRow; - return ost.str(); - } -}; - -CPPUNIT_NS_END - namespace apitest { void XSheetCellRangeContainer::testAddRemoveRangeAddress() |