diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-21 11:49:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-25 14:19:10 +0200 |
commit | 2c3cac855cf65a75d7e73e4cba10b757d5ab1940 (patch) | |
tree | fda2f91478ee9ded8ad21e4b6ea5d57f87cad414 /sc/source/ui/undo | |
parent | Resolves: rhbz#1372630 update recently used color with direct button click (diff) | |
download | core-2c3cac855cf65a75d7e73e4cba10b757d5ab1940.tar.gz core-2c3cac855cf65a75d7e73e4cba10b757d5ab1940.zip |
loplugin:unusedfields in sc
The *chart* fields in ScTabViewShell in sc/source/ui/inc/tabvwsh.hxx
are unused since:
commit 5021f298418f6efa7bb7b6540113b712599778fe
Author: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Date: Mon Jul 28 12:11:08 2014 -0300
Remove some unused code
The bEveryoneButMe field in ScChangeViewSettings is unused since
commit 90e8ad7ab779740c7381d26ffe7d08acc3a9ff96
Author: Noel Grandin <noel@peralex.com>
Date: Tue Jul 21 15:39:17 2015 +0200
loplugin:unusedmethods scripting,sc
Change-Id: Ie9fbdf8f5e9177449316aaeb40ca3bd26df78a95
Reviewed-on: https://gerrit.libreoffice.org/40264
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r-- | sc/source/ui/undo/undobase.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sc/source/ui/undo/undobase.cxx b/sc/source/ui/undo/undobase.cxx index 71b8751f396d..e5b598d6f5f4 100644 --- a/sc/source/ui/undo/undobase.cxx +++ b/sc/source/ui/undo/undobase.cxx @@ -348,8 +348,7 @@ void ScBlockUndo::ShowBlock() ScMultiBlockUndo::ScMultiBlockUndo( ScDocShell* pDocSh, const ScRangeList& rRanges) : ScSimpleUndo(pDocSh), - maBlockRanges(rRanges), - meMode(SC_UNDO_SIMPLE) + maBlockRanges(rRanges) { mpDrawUndo = GetSdrUndoAction( &pDocShell->GetDocument() ); } @@ -367,9 +366,6 @@ void ScMultiBlockUndo::BeginUndo() void ScMultiBlockUndo::EndUndo() { - if (meMode == SC_UNDO_AUTOHEIGHT) - AdjustHeight(); - EnableDrawAdjust(&pDocShell->GetDocument(), true); DoSdrUndoAction(mpDrawUndo, &pDocShell->GetDocument()); @@ -379,9 +375,6 @@ void ScMultiBlockUndo::EndUndo() void ScMultiBlockUndo::EndRedo() { - if (meMode == SC_UNDO_AUTOHEIGHT) - AdjustHeight(); - ShowBlock(); ScSimpleUndo::EndRedo(); } |