binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx | 10 +++++----- binfilter/bf_sc/source/ui/inc/dbdocfun.hxx | 10 +++++----- binfilter/bf_sc/source/ui/unoobj/sc_datauno.cxx | 16 ++++++++-------- 3 files changed, 18 insertions(+), 18 deletions(-)
New commits: commit 2a1ec70ac3eaa4000f1d8549257ed8a97a9281ef Author: Caolán McNamara <caol...@redhat.com> Date: Sun Oct 2 21:59:25 2011 +0100 WaE: ditch unused args diff --git a/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx b/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx index fc9170f..0149be6 100644 --- a/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx +++ b/binfilter/bf_sc/source/ui/docshell/sc_dbdocfun.cxx @@ -51,7 +51,7 @@ namespace binfilter { -/*N*/ BOOL ScDBDocFunc::AddDBRange( const String& rName, const ScRange& rRange, BOOL /*bApi*/ ) +/*N*/ BOOL ScDBDocFunc::AddDBRange( const String& rName, const ScRange& rRange ) /*N*/ { /*N*/ /*N*/ ScDocShellModificator aModificator( rDocShell ); @@ -78,7 +78,7 @@ namespace binfilter { /*N*/ return TRUE; /*N*/ } /*N*/ -/*N*/ BOOL ScDBDocFunc::DeleteDBRange( const String& rName, BOOL /*bApi*/ ) +/*N*/ BOOL ScDBDocFunc::DeleteDBRange( const String& rName ) /*N*/ { /*N*/ BOOL bDone = FALSE; /*N*/ ScDocument* pDoc = rDocShell.GetDocument(); @@ -101,7 +101,7 @@ namespace binfilter { /*N*/ return bDone; /*N*/ } -/*N*/ BOOL ScDBDocFunc::RenameDBRange( const String& rOld, const String& rNew, BOOL /*bApi*/ ) +/*N*/ BOOL ScDBDocFunc::RenameDBRange( const String& rOld, const String& rNew ) /*N*/ { /*N*/ BOOL bDone = FALSE; /*N*/ ScDocument* pDoc = rDocShell.GetDocument(); @@ -138,7 +138,7 @@ namespace binfilter { /*N*/ return bDone; /*N*/ } -/*N*/ BOOL ScDBDocFunc::ModifyDBData( const ScDBData& rNewData, BOOL /*bApi*/) +/*N*/ BOOL ScDBDocFunc::ModifyDBData( const ScDBData& rNewData ) /*N*/ { /*N*/ BOOL bDone = FALSE; /*N*/ ScDocument* pDoc = rDocShell.GetDocument(); @@ -165,7 +165,7 @@ namespace binfilter { /*N*/ } -/*N*/ BOOL ScDBDocFunc::RepeatDB( const String& rDBName, BOOL bRecord, BOOL bApi ) +/*N*/ BOOL ScDBDocFunc::RepeatDB( const String& rDBName, BOOL bRecord ) /*N*/ { /*N*/ //! auch fuer ScDBFunc::RepeatDB benutzen! /*N*/ diff --git a/binfilter/bf_sc/source/ui/inc/dbdocfun.hxx b/binfilter/bf_sc/source/ui/inc/dbdocfun.hxx index aa25da5..fcc6cf3 100644 --- a/binfilter/bf_sc/source/ui/inc/dbdocfun.hxx +++ b/binfilter/bf_sc/source/ui/inc/dbdocfun.hxx @@ -77,12 +77,12 @@ public: const SbaSelectionList* pSelection, BOOL bRecord, BOOL bAddrInsert = FALSE ); - BOOL AddDBRange( const String& rName, const ScRange& rRange, BOOL bApi ); - BOOL DeleteDBRange( const String& rName, BOOL bApi ); - BOOL RenameDBRange( const String& rOld, const String& rNew, BOOL bApi ); - BOOL ModifyDBData( const ScDBData& rNewData, BOOL bApi ); // Name unveraendert + BOOL AddDBRange( const String& rName, const ScRange& rRange ); + BOOL DeleteDBRange( const String& rName ); + BOOL RenameDBRange( const String& rOld, const String& rNew ); + BOOL ModifyDBData( const ScDBData& rNewData ); // Name unveraendert - BOOL RepeatDB( const String& rDBName, BOOL bRecord, BOOL bApi ); + BOOL RepeatDB( const String& rDBName, BOOL bRecord ); BOOL DataPilotUpdate( ScDPObject* pOldObj, const ScDPObject* pNewObj, BOOL bRecord, BOOL bApi ); diff --git a/binfilter/bf_sc/source/ui/unoobj/sc_datauno.cxx b/binfilter/bf_sc/source/ui/unoobj/sc_datauno.cxx index 87cbc63..e50161f 100644 --- a/binfilter/bf_sc/source/ui/unoobj/sc_datauno.cxx +++ b/binfilter/bf_sc/source/ui/unoobj/sc_datauno.cxx @@ -1439,7 +1439,7 @@ void SAL_CALL ScDatabaseRangeObj::setName( const ::rtl::OUString& aNewName ) { ScDBDocFunc aFunc(*pDocShell); String aNewStr = aNewName; - BOOL bOk = aFunc.RenameDBRange( aName, aNewStr, TRUE ); + BOOL bOk = aFunc.RenameDBRange( aName, aNewStr ); if (bOk) aName = aNewStr; } @@ -1477,7 +1477,7 @@ void SAL_CALL ScDatabaseRangeObj::setDataArea( const table::CellRangeAddress& aD aNewData.SetArea( aDataArea.Sheet, (USHORT)aDataArea.StartColumn, (USHORT)aDataArea.StartRow, (USHORT)aDataArea.EndColumn, (USHORT)aDataArea.EndRow ); ScDBDocFunc aFunc(*pDocShell); - aFunc.ModifyDBData(aNewData, TRUE); + aFunc.ModifyDBData(aNewData); } } @@ -1549,7 +1549,7 @@ void ScDatabaseRangeObj::SetQueryParam(const ScQueryParam& rQueryParam) aNewData.SetQueryParam(aParam); aNewData.SetHeader(aParam.bHasHeader); // not in ScDBData::SetQueryParam ScDBDocFunc aFunc(*pDocShell); - aFunc.ModifyDBData(aNewData, TRUE); + aFunc.ModifyDBData(aNewData); } } @@ -1608,7 +1608,7 @@ void ScDatabaseRangeObj::SetSubTotalParam(const ScSubTotalParam& rSubTotalParam) ScDBData aNewData( *pData ); aNewData.SetSubTotalParam(aParam); ScDBDocFunc aFunc(*pDocShell); - aFunc.ModifyDBData(aNewData, TRUE); + aFunc.ModifyDBData(aNewData); } } @@ -1655,7 +1655,7 @@ void SAL_CALL ScDatabaseRangeObj::refresh() throw(uno::RuntimeException) // interne Operationen (sort, query, subtotal) nur, wenn kein Fehler if (bContinue) - aFunc.RepeatDB( pData->GetName(), TRUE, TRUE ); + aFunc.RepeatDB( pData->GetName(), TRUE ); } } @@ -1755,7 +1755,7 @@ void SAL_CALL ScDatabaseRangeObj::setPropertyValue( if (bDo) { ScDBDocFunc aFunc(*pDocShell); - aFunc.ModifyDBData(aNewData, TRUE); + aFunc.ModifyDBData(aNewData); } } } @@ -1901,7 +1901,7 @@ void SAL_CALL ScDatabaseRangesObj::addNewByName( const ::rtl::OUString& aName, String aString = aName; ScRange aNameRange( (USHORT)aRange.StartColumn, (USHORT)aRange.StartRow, aRange.Sheet, (USHORT)aRange.EndColumn, (USHORT)aRange.EndRow, aRange.Sheet ); - bDone = aFunc.AddDBRange( aString, aNameRange, TRUE ); + bDone = aFunc.AddDBRange( aString, aNameRange ); } if (!bDone) throw uno::RuntimeException(); // no other exceptions specified @@ -1916,7 +1916,7 @@ void SAL_CALL ScDatabaseRangesObj::removeByName( const ::rtl::OUString& aName ) { ScDBDocFunc aFunc(*pDocShell); String aString = aName; - bDone = aFunc.DeleteDBRange( aString, TRUE ); + bDone = aFunc.DeleteDBRange( aString ); } if (!bDone) throw uno::RuntimeException(); // no other exceptions specified
_______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits