summaryrefslogtreecommitdiff
path: root/include/test/cppunitasserthelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/test/cppunitasserthelper.hxx')
-rw-r--r--include/test/cppunitasserthelper.hxx20
1 files changed, 8 insertions, 12 deletions
diff --git a/include/test/cppunitasserthelper.hxx b/include/test/cppunitasserthelper.hxx
index 0b26a228ba31..362413baef15 100644
--- a/include/test/cppunitasserthelper.hxx
+++ b/include/test/cppunitasserthelper.hxx
@@ -27,15 +27,11 @@ CPPUNIT_NS_BEGIN
* This specialization from @c struct @c assertion_traits<> helps to compare
* @see com::sun::star::table::CellAddress.
*/
-template<>
-struct assertion_traits<table::CellAddress>
+template <> struct assertion_traits<table::CellAddress>
{
- static bool equal(const table::CellAddress& x, const table::CellAddress& y)
- {
- return x == y;
- }
+ static bool equal(const table::CellAddress& x, const table::CellAddress& y) { return x == y; }
- static std::string toString( const table::CellAddress& x )
+ static std::string toString(const table::CellAddress& x)
{
OStringStream ost;
ost << "Sheet: " << x.Sheet << " Column: " << x.Column << " Row: " << x.Row;
@@ -48,19 +44,19 @@ struct assertion_traits<table::CellAddress>
* This specialization from @c struct @c assertion_traits<> helps to compare
* @see com::sun::star::table::CellRangeAddress.
*/
-template<>
-struct assertion_traits<table::CellRangeAddress>
+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 )
+ 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;
+ ost << "Sheet: " << x.Sheet << " StartColumn: " << x.StartColumn
+ << " StartRow: " << x.StartRow << " EndColumn: " << x.EndColumn
+ << " EndRow: " << x.EndRow;
return ost.str();
}
};