diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-09-11 11:18:45 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-09-11 17:11:11 +0200 |
commit | f34f7b65035f0afe1ceac6f5b5d8ddfac824bde9 (patch) | |
tree | 959554cb932a5273c5804760462ff21246265a78 /sc/source/ui/undo | |
parent | d6500b19afc6a15e63e679765317690eac0d4207 (diff) |
-Werror,-Wunused-private-field (various sc)
Change-Id: Ia30a2bb6b1f36304a3c420db1d28d177d429a19b
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r-- | sc/source/ui/undo/undocell.cxx | 10 | ||||
-rw-r--r-- | sc/source/ui/undo/undodat.cxx | 3 | ||||
-rw-r--r-- | sc/source/ui/undo/undotab.cxx | 8 |
3 files changed, 8 insertions, 13 deletions
diff --git a/sc/source/ui/undo/undocell.cxx b/sc/source/ui/undo/undocell.cxx index 19e950e7baff..140ddeab5947 100644 --- a/sc/source/ui/undo/undocell.cxx +++ b/sc/source/ui/undo/undocell.cxx @@ -346,12 +346,11 @@ sal_Bool ScUndoEnterData::CanRepeat(SfxRepeatTarget& rTarget) const ScUndoEnterValue::ScUndoEnterValue( ScDocShell* pNewDocShell, const ScAddress& rNewPos, - ScBaseCell* pUndoCell, double nVal, sal_Bool bHeight ) : + ScBaseCell* pUndoCell, double nVal ) : ScSimpleUndo( pNewDocShell ), aPos ( rNewPos ), pOldCell ( pUndoCell ), - nValue ( nVal ), - bNeedHeight ( bHeight ) + nValue ( nVal ) { SetChangeTrack(); } @@ -424,12 +423,11 @@ sal_Bool ScUndoEnterValue::CanRepeat(SfxRepeatTarget& /* rTarget */) const } ScUndoPutCell::ScUndoPutCell( ScDocShell* pNewDocShell, const ScAddress& rNewPos, - ScBaseCell* pUndoCell, ScBaseCell* pRedoCell, sal_Bool bHeight ) : + ScBaseCell* pUndoCell, ScBaseCell* pRedoCell ) : ScSimpleUndo( pNewDocShell ), aPos ( rNewPos ), pOldCell ( pUndoCell ), - pEnteredCell( pRedoCell ), - bNeedHeight ( bHeight ) + pEnteredCell( pRedoCell ) { SetChangeTrack(); } diff --git a/sc/source/ui/undo/undodat.cxx b/sc/source/ui/undo/undodat.cxx index ef2bf7a5ea98..62e10b8f4861 100644 --- a/sc/source/ui/undo/undodat.cxx +++ b/sc/source/ui/undo/undodat.cxx @@ -751,13 +751,12 @@ sal_Bool ScUndoSubTotals::CanRepeat(SfxRepeatTarget& /* rTarget */) const ScUndoSort::ScUndoSort( ScDocShell* pNewDocShell, SCTAB nNewTab, const ScSortParam& rParam, - sal_Bool bQuery, ScDocument* pNewUndoDoc, ScDBCollection* pNewUndoDB, + ScDocument* pNewUndoDoc, ScDBCollection* pNewUndoDB, const ScRange* pDest ) : ScDBFuncUndo( pNewDocShell, ScRange( rParam.nCol1, rParam.nRow1, nNewTab, rParam.nCol2, rParam.nRow2, nNewTab ) ), nTab( nNewTab ), aSortParam( rParam ), - bRepeatQuery( bQuery ), pUndoDoc( pNewUndoDoc ), pUndoDB( pNewUndoDB ), bDestArea( false ) diff --git a/sc/source/ui/undo/undotab.cxx b/sc/source/ui/undo/undotab.cxx index 4818818738e6..00877a8d203d 100644 --- a/sc/source/ui/undo/undotab.cxx +++ b/sc/source/ui/undo/undotab.cxx @@ -179,12 +179,11 @@ sal_Bool ScUndoInsertTab::CanRepeat(SfxRepeatTarget& rTarget) const ScUndoInsertTables::ScUndoInsertTables( ScDocShell* pNewDocShell, SCTAB nTabNum, - sal_Bool bApp,std::vector<rtl::OUString>& newNameList) : + std::vector<rtl::OUString>& newNameList) : ScSimpleUndo( pNewDocShell ), pDrawUndo( NULL ), aNameList( newNameList ), - nTab( nTabNum ), - bAppend( bApp ) + nTab( nTabNum ) { pDrawUndo = GetSdrUndoAction( pDocShell->GetDocument() ); @@ -891,11 +890,10 @@ sal_Bool ScUndoMakeScenario::CanRepeat(SfxRepeatTarget& rTarget) const } ScUndoImportTab::ScUndoImportTab( ScDocShell* pShell, - SCTAB nNewTab, SCTAB nNewCount, sal_Bool bNewLink ) : + SCTAB nNewTab, SCTAB nNewCount ) : ScSimpleUndo( pShell ), nTab( nNewTab ), nCount( nNewCount ), - bLink( bNewLink ), pRedoDoc( NULL ), pDrawUndo( NULL ) { |