[Libreoffice-commits] .: sc/qa

Stephan Bergmann sbergmann at kemper.freedesktop.org
Thu Dec 1 00:45:31 PST 2011


 sc/qa/extras/xcellrangesquery.cxx |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit eb251522ebe462903c96881ae9b99814700c84d3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Dec 1 09:44:57 2011 +0100

    -Werror=unused-parameter fix (completely removed unused setRowVisible())

diff --git a/sc/qa/extras/xcellrangesquery.cxx b/sc/qa/extras/xcellrangesquery.cxx
index 9fc9139..5df4f71 100644
--- a/sc/qa/extras/xcellrangesquery.cxx
+++ b/sc/qa/extras/xcellrangesquery.cxx
@@ -47,8 +47,6 @@ public:
 
     uno::Reference<sheet::XCellRangesQuery> init();
 
-    void setRowVisible(bool bVisible);
-
     //Testcases
     void testQueryColumnDifference();
     void testQueryContentDifference();
@@ -158,7 +156,6 @@ void ScXCellRangesQuery::testQueryRowDifference()
 
 void ScXCellRangesQuery::testQueryVisibleCells()
 {
-    setRowVisible(false);
     rtl::OUString aExpected(RTL_CONSTASCII_USTRINGPARAM("Sheet1.A2"));
     uno::Reference<sheet::XCellRangesQuery> xCellRangesQuery = init();
     uno::Reference<sheet::XSheetCellRanges> xRanges = xCellRangesQuery->queryVisibleCells();
@@ -167,11 +164,6 @@ void ScXCellRangesQuery::testQueryVisibleCells()
     CPPUNIT_ASSERT_MESSAGE("testQueryFormulaCells", aResult == aExpected);
 }
 
-void ScXCellRangesQuery::setRowVisible(bool bVisible)
-{
-
-}
-
 CPPUNIT_TEST_SUITE_REGISTRATION(ScXCellRangesQuery);
 
 CPPUNIT_PLUGIN_IMPLEMENT();


More information about the Libreoffice-commits mailing list