From 37e6631cc5d4147e9d0a4ebefbd0c9d2a8137d24 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Wed, 25 Jun 2014 05:20:47 +0200 Subject: remove whitespace Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2 --- sc/qa/extras/regression-test.cxx | 1 - sc/qa/extras/scannotationshapeobj.cxx | 2 -- sc/qa/extras/sctablesheetobj.cxx | 1 - sc/qa/unit/filters-test.cxx | 1 - sc/qa/unit/helper/csv_handler.hxx | 1 - sc/qa/unit/helper/qahelper.cxx | 1 - sc/qa/unit/opencl-test.cxx | 2 -- sc/qa/unit/rangelst_test.cxx | 1 - sc/qa/unit/subsequent_export-test.cxx | 1 - sc/qa/unit/subsequent_filters-test.cxx | 1 - sc/qa/unit/ucalc.cxx | 6 ------ sc/qa/unit/ucalc.hxx | 1 - sc/qa/unit/ucalc_formula.cxx | 2 -- sc/qa/unit/ucalc_pivottable.cxx | 1 - 14 files changed, 22 deletions(-) (limited to 'sc/qa') diff --git a/sc/qa/extras/regression-test.cxx b/sc/qa/extras/regression-test.cxx index b195e913de77..ba3cca23a0e2 100644 --- a/sc/qa/extras/regression-test.cxx +++ b/sc/qa/extras/regression-test.cxx @@ -70,7 +70,6 @@ public: }; - void ScChartRegressionTest::test() { OUString aFileName; diff --git a/sc/qa/extras/scannotationshapeobj.cxx b/sc/qa/extras/scannotationshapeobj.cxx index d407118a664a..f306e935f8b1 100644 --- a/sc/qa/extras/scannotationshapeobj.cxx +++ b/sc/qa/extras/scannotationshapeobj.cxx @@ -27,7 +27,6 @@ class ScAnnotationShapeObj : public UnoApiTest, apitest::XText public: ScAnnotationShapeObj(); - virtual void setUp(); virtual void tearDown(); virtual uno::Reference init(); @@ -114,5 +113,4 @@ CPPUNIT_PLUGIN_IMPLEMENT(); } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/qa/extras/sctablesheetobj.cxx b/sc/qa/extras/sctablesheetobj.cxx index 89e82187131d..f64905fdeda7 100644 --- a/sc/qa/extras/sctablesheetobj.cxx +++ b/sc/qa/extras/sctablesheetobj.cxx @@ -54,7 +54,6 @@ ScTableSheetObj::ScTableSheetObj(): { } - uno::Reference< uno::XInterface > ScTableSheetObj::init() { OUString aFileURL; diff --git a/sc/qa/unit/filters-test.cxx b/sc/qa/unit/filters-test.cxx index 33c96921a6e9..bb60b7b0c5c7 100644 --- a/sc/qa/unit/filters-test.cxx +++ b/sc/qa/unit/filters-test.cxx @@ -406,7 +406,6 @@ void impl_testLegacyCellAnchoredRotatedShape( ScDocument& rDoc, Rectangle& aRect printf("expected right %ld actual %ld\n", aRect.Top(), aSnap.Top() ); CPPUNIT_ASSERT_EQUAL( true, testEqualsWithTolerance( aRect.Top(), aSnap.Top(), TOLERANCE ) ); - ScDrawObjData* pData = ScDrawLayer::GetObjData( pObj ); CPPUNIT_ASSERT_MESSAGE("expected object meta data", pData); printf("expected startrow %" SAL_PRIdINT32 " actual %" SAL_PRIdINT32 "\n", aAnchor.maStart.Row(), pData->maStart.Row() ); diff --git a/sc/qa/unit/helper/csv_handler.hxx b/sc/qa/unit/helper/csv_handler.hxx index 787c32974e0f..22534e4b9c8e 100644 --- a/sc/qa/unit/helper/csv_handler.hxx +++ b/sc/qa/unit/helper/csv_handler.hxx @@ -181,7 +181,6 @@ private: StringType meStringType; }; - class conditional_format_handler { public: diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx index a22e3bc17d44..79d5716c5c1b 100644 --- a/sc/qa/unit/helper/qahelper.cxx +++ b/sc/qa/unit/helper/qahelper.cxx @@ -118,7 +118,6 @@ void testFile(OUString& aFileName, ScDocument& rDoc, SCTAB nTab, StringType aStr aConfig.text_qualifier = '"'; aConfig.trim_cell_value = false; - std::string aContent; loadFile(aFileName, aContent); orcus::csv_parser parser ( &aContent[0], aContent.size() , aHandler, aConfig); diff --git a/sc/qa/unit/opencl-test.cxx b/sc/qa/unit/opencl-test.cxx index 21e074958d9c..c23aa38f70b4 100644 --- a/sc/qa/unit/opencl-test.cxx +++ b/sc/qa/unit/opencl-test.cxx @@ -1209,7 +1209,6 @@ void ScOpenclTest::testFinacialSYDFormula() xDocShRes->DoClose(); } - void ScOpenclTest::testFinacialIRRFormula() { if (!detectOpenCLDevice()) @@ -3422,7 +3421,6 @@ void ScOpenclTest::testMathFormulaArcTan2() xDocShRes->DoClose(); } - //[AMLOEXT-148] void ScOpenclTest::testStatisticalFormulaChiSqInv() { diff --git a/sc/qa/unit/rangelst_test.cxx b/sc/qa/unit/rangelst_test.cxx index 0068d03641d3..943ac2084b9d 100644 --- a/sc/qa/unit/rangelst_test.cxx +++ b/sc/qa/unit/rangelst_test.cxx @@ -78,7 +78,6 @@ public: CPPUNIT_TEST(testInsertCol); CPPUNIT_TEST_SUITE_END(); - private: ScDocument *m_pDoc; ScDocShellRef m_xDocShRef; diff --git a/sc/qa/unit/subsequent_export-test.cxx b/sc/qa/unit/subsequent_export-test.cxx index d457538fd268..9fa0bc294d8e 100644 --- a/sc/qa/unit/subsequent_export-test.cxx +++ b/sc/qa/unit/subsequent_export-test.cxx @@ -278,7 +278,6 @@ void ScExportTest::testConditionalFormatExportXLSX() testCondFile(aCSVPath, &rDoc, 1); } - xDocSh->DoClose(); } diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx index 4374d6fb6988..d84b89587b1c 100644 --- a/sc/qa/unit/subsequent_filters-test.cxx +++ b/sc/qa/unit/subsequent_filters-test.cxx @@ -277,7 +277,6 @@ bool ScFiltersTest::load(const OUString &rFilter, const OUString &rURL, return bLoaded; } - namespace { void testRangeNameImpl(ScDocument& rDoc) diff --git a/sc/qa/unit/ucalc.cxx b/sc/qa/unit/ucalc.cxx index d6ed393497b7..8d2dd47b91be 100644 --- a/sc/qa/unit/ucalc.cxx +++ b/sc/qa/unit/ucalc.cxx @@ -1218,7 +1218,6 @@ void Test::testValueIterator() } } - m_pDoc->DeleteTab(0); } @@ -3451,7 +3450,6 @@ void Test::testCopyPaste() CPPUNIT_ASSERT_MESSAGE("After Redo, note again on Sheet2.C2, string cell content", m_pDoc->GetNote(ScAddress(2, 0, 0))->GetText() == m_pDoc->GetNote(ScAddress(2, 1, 1))->GetText()); - m_pDoc->DeleteTab(1); m_pDoc->DeleteTab(0); } @@ -4138,7 +4136,6 @@ void Test::testMergedCells() m_pDoc->DeleteTab(0); } - void Test::testRenameTable() { //test set rename table @@ -4197,7 +4194,6 @@ void Test::testSetBackgroundColor() CPPUNIT_ASSERT_MESSAGE("the correct color is not set", m_pDoc->GetTabBgColor(0) == aColor); - Color aOldTabBgColor=m_pDoc->GetTabBgColor(0); aColor.SetColor(COL_BLUE);//set BLUE getDocShell().GetDocFunc().SetTabBgColor(0,aColor,false, true); @@ -4703,7 +4699,6 @@ void Test::testFindAreaPosVertical() CPPUNIT_ASSERT_EQUAL(static_cast(0), nRow); CPPUNIT_ASSERT_EQUAL(static_cast(2), nCol); - m_pDoc->DeleteTab(0); } @@ -6145,7 +6140,6 @@ void Test::testCondCopyPaste() CPPUNIT_ASSERT_EQUAL(size_t(1), pCondFormatItem->GetCondFormatData().size()); CPPUNIT_ASSERT( nIndex != pCondFormatItem->GetCondFormatData().at(0) ); - m_pDoc->DeleteTab(0); } diff --git a/sc/qa/unit/ucalc.hxx b/sc/qa/unit/ucalc.hxx index 73181eed8063..2df47c0f1d0a 100644 --- a/sc/qa/unit/ucalc.hxx +++ b/sc/qa/unit/ucalc.hxx @@ -540,7 +540,6 @@ private: ScDocument *m_pDoc; }; - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/qa/unit/ucalc_formula.cxx b/sc/qa/unit/ucalc_formula.cxx index 6d521d6da690..f0f4a84589b1 100644 --- a/sc/qa/unit/ucalc_formula.cxx +++ b/sc/qa/unit/ucalc_formula.cxx @@ -989,10 +989,8 @@ void Test::testFormulaRefUpdate() // Clear all and start over. clearRange(m_pDoc, ScRange(0,0,0,10,10,0)); - // Test range updates - // Fill B2:C3 with values. m_pDoc->SetValue(ScAddress(1,1,0), 1); m_pDoc->SetValue(ScAddress(1,2,0), 2); diff --git a/sc/qa/unit/ucalc_pivottable.cxx b/sc/qa/unit/ucalc_pivottable.cxx index 5f742a1f98c0..40b3d6c78c7d 100644 --- a/sc/qa/unit/ucalc_pivottable.cxx +++ b/sc/qa/unit/ucalc_pivottable.cxx @@ -643,7 +643,6 @@ void Test::testPivotTableFilters() CPPUNIT_ASSERT_MESSAGE("Table output check failed", bSuccess); } - pDPs->FreeTable(pDPObj); CPPUNIT_ASSERT_MESSAGE("There shouldn't be any data pilot table stored with the document.", pDPs->GetCount() == 0); -- cgit