summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-07-23 20:22:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-07-23 20:22:43 +0200
commit55c390d526a1877bc5370d94338b9ebd75a9f3da (patch)
treec966cef45063ca3f57beda86cfc1cc4ed5508187 /sc
parent5a639557ae6e0e752e68de8e831fef3166c80a3b (diff)
Properly fix -Werror=unused-parameter
Change-Id: Ia526b347e977836226bdac2b9741fa95e38e9788
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/docshell/olinefun.cxx3
-rw-r--r--sc/source/ui/inc/olinefun.hxx2
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx2
-rw-r--r--sc/source/ui/view/dbfunc3.cxx2
4 files changed, 4 insertions, 5 deletions
diff --git a/sc/source/ui/docshell/olinefun.cxx b/sc/source/ui/docshell/olinefun.cxx
index 223eb2d5acd0..54f1d7c5a94a 100644
--- a/sc/source/ui/docshell/olinefun.cxx
+++ b/sc/source/ui/docshell/olinefun.cxx
@@ -442,9 +442,8 @@ sal_Bool ScOutlineDocFunc::SelectLevel( SCTAB nTab, sal_Bool bColumns, sal_uInt1
//------------------------------------------------------------------------
-sal_Bool ScOutlineDocFunc::ShowMarkedOutlines( const ScRange& rRange, sal_Bool bRecord, sal_Bool bApi )
+sal_Bool ScOutlineDocFunc::ShowMarkedOutlines( const ScRange& rRange, sal_Bool bRecord )
{
- (void)bApi;
sal_Bool bDone = false;
SCCOL nStartCol = rRange.aStart.Col();
diff --git a/sc/source/ui/inc/olinefun.hxx b/sc/source/ui/inc/olinefun.hxx
index 2dee30c46fe1..c32ecabfc59e 100644
--- a/sc/source/ui/inc/olinefun.hxx
+++ b/sc/source/ui/inc/olinefun.hxx
@@ -45,7 +45,7 @@ public:
sal_Bool SelectLevel( SCTAB nTab, sal_Bool bColumns, sal_uInt16 nLevel,
sal_Bool bRecord, sal_Bool bPaint, sal_Bool bApi );
- sal_Bool ShowMarkedOutlines( const ScRange& rRange, sal_Bool bRecord, sal_Bool bApi );
+ sal_Bool ShowMarkedOutlines( const ScRange& rRange, sal_Bool bRecord );
sal_Bool HideMarkedOutlines( const ScRange& rRange, sal_Bool bRecord, sal_Bool bApi );
sal_Bool ShowOutline( SCTAB nTab, sal_Bool bColumns, sal_uInt16 nLevel, sal_uInt16 nEntry,
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index b880f232685c..d98d0a31c640 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -7961,7 +7961,7 @@ void SAL_CALL ScTableSheetObj::showDetail( const table::CellRangeAddress& rCellR
ScRange aMarkRange;
ScUnoConversion::FillScRange( aMarkRange, rCellRange );
ScOutlineDocFunc aFunc(*pDocSh);
- aFunc.ShowMarkedOutlines( aMarkRange, sal_True, sal_True );
+ aFunc.ShowMarkedOutlines( aMarkRange, sal_True );
}
}
diff --git a/sc/source/ui/view/dbfunc3.cxx b/sc/source/ui/view/dbfunc3.cxx
index cf7d96a928a7..9882a403b47b 100644
--- a/sc/source/ui/view/dbfunc3.cxx
+++ b/sc/source/ui/view/dbfunc3.cxx
@@ -351,7 +351,7 @@ void ScDBFunc::ShowMarkedOutlines( sal_Bool bRecord )
{
ScDocShell* pDocSh = GetViewData()->GetDocShell();
ScOutlineDocFunc aFunc(*pDocSh);
- sal_Bool bDone = aFunc.ShowMarkedOutlines( aRange, bRecord, false );
+ sal_Bool bDone = aFunc.ShowMarkedOutlines( aRange, bRecord );
if (bDone)
UpdateScrollBars();
}