[Libreoffice-commits] .: binfilter/bf_sc

Caolán McNamara caolan at kemper.freedesktop.org
Thu Sep 8 08:36:58 PDT 2011


 binfilter/bf_sc/source/core/data/sc_cell.cxx       |    2 +-
 binfilter/bf_sc/source/core/data/sc_cell2.cxx      |    2 +-
 binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx |    6 ------
 3 files changed, 2 insertions(+), 8 deletions(-)

New commits:
commit 410cf282ecf2f936e6627971b34fd54a9933885f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Sep 8 16:36:00 2011 +0100

    WaE: remove newly unused variables

diff --git a/binfilter/bf_sc/source/core/data/sc_cell.cxx b/binfilter/bf_sc/source/core/data/sc_cell.cxx
index 705ce9c..0bb732d 100644
--- a/binfilter/bf_sc/source/core/data/sc_cell.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_cell.cxx
@@ -598,7 +598,7 @@ static const sal_Char msgDbgInfinity[] =
 /*N*/ }
 
 /*N*/ ScFormulaCell::ScFormulaCell( ScDocument* pDoc, const ScAddress& rNewPos,
-/*N*/                               const ScFormulaCell& rScFormulaCell, USHORT nCopyFlags ) :
+/*N*/                               const ScFormulaCell& rScFormulaCell, USHORT ) :
 /*N*/   ScBaseCell( rScFormulaCell ),
 /*N*/   SfxListener(),
 /*N*/   aErgString( rScFormulaCell.aErgString ),
diff --git a/binfilter/bf_sc/source/core/data/sc_cell2.cxx b/binfilter/bf_sc/source/core/data/sc_cell2.cxx
index 79cd019..b963c16 100644
--- a/binfilter/bf_sc/source/core/data/sc_cell2.cxx
+++ b/binfilter/bf_sc/source/core/data/sc_cell2.cxx
@@ -613,7 +613,7 @@ DBG_BF_ASSERT(0, "STRIP"); /*N*/    if( !pDocument->IsClipOrUndo() )
 /*N*/   return bRet;
 /*N*/ }
 
-void ScFormulaCell::UpdateCompile( BOOL bForceIfNameInUse )
+void ScFormulaCell::UpdateCompile( BOOL )
 {
     bCompile = pCode->HasNameOrColRowName();
     if ( bCompile )
diff --git a/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx b/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx
index 5ea816b..adcf41b 100644
--- a/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx
+++ b/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx
@@ -477,16 +477,10 @@ namespace binfilter {
 /*N*/
 /*N*/   WaitObject aWait( rDocShell.GetDialogParent() );
 /*N*/
-/*N*/   BOOL bKeepSub = FALSE;                          // bestehende Teilergebnisse wiederholen?
 /*N*/   ScSubTotalParam aSubTotalParam;
 /*N*/   if (rQueryParam.GetEntry(0).bDoQuery)           // nicht beim Aufheben
-/*N*/   {
 /*N*/       pDBData->GetSubTotalParam( aSubTotalParam );    // Teilergebnisse vorhanden?
 /*N*/
-/*N*/       if ( aSubTotalParam.bGroupActive[0] && !aSubTotalParam.bRemoveOnly )
-/*N*/           bKeepSub = TRUE;
-/*N*/   }
-/*N*/
 /*N*/   ScDocument* pAttribDoc = NULL;
 /*N*/   ScRange aAttribRange;
 /*N*/   if (pDestData)                                      // Zielbereich loeschen


More information about the Libreoffice-commits mailing list