summaryrefslogtreecommitdiff
path: root/test/source/sheet/xsheetoperation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/sheet/xsheetoperation.cxx')
-rw-r--r--test/source/sheet/xsheetoperation.cxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/test/source/sheet/xsheetoperation.cxx b/test/source/sheet/xsheetoperation.cxx
index 22015a40d17d..6f8496482eac 100644
--- a/test/source/sheet/xsheetoperation.cxx
+++ b/test/source/sheet/xsheetoperation.cxx
@@ -19,26 +19,25 @@
using namespace css;
using namespace css::uno;
-namespace apitest {
-
+namespace apitest
+{
void XSheetOperation::testClearContents()
{
- uno::Reference< sheet::XSheetOperation > xSheetOperation(init(), UNO_QUERY_THROW);
+ uno::Reference<sheet::XSheetOperation> xSheetOperation(init(), UNO_QUERY_THROW);
- xSheetOperation->clearContents( sheet::CellFlags::VALUE | sheet::CellFlags::FORMULA );
+ xSheetOperation->clearContents(sheet::CellFlags::VALUE | sheet::CellFlags::FORMULA);
- double sum = xSheetOperation->computeFunction( sheet::GeneralFunction_SUM );
+ double sum = xSheetOperation->computeFunction(sheet::GeneralFunction_SUM);
CPPUNIT_ASSERT_EQUAL_MESSAGE("Unable to clean contents", 0.0, sum);
}
void XSheetOperation::testComputeFunction()
{
- uno::Reference< sheet::XSheetOperation > xSheetOperation(init(), UNO_QUERY_THROW);
+ uno::Reference<sheet::XSheetOperation> xSheetOperation(init(), UNO_QUERY_THROW);
- double count = xSheetOperation->computeFunction( sheet::GeneralFunction_COUNT );
+ double count = xSheetOperation->computeFunction(sheet::GeneralFunction_COUNT);
CPPUNIT_ASSERT_MESSAGE("Unable to compute function", count >= 0.0);
}
-
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */