summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/tabvwsh4.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 15:32:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-28 08:49:54 +0200
commit7b850c15b15be10ed3b52822f63b02d8787bcb2f (patch)
treed209ae49fb21c94c752f325e389862706abc207e /sc/source/ui/view/tabvwsh4.cxx
parent84dfff475c1f25319bc22c7b6ad437d5501a7dc4 (diff)
loplugin:unusedfields in sc part1
in ScNavigatorDlg::ScNavigatorDlg, we replace the assignment of nAreaId with an assignment to nDataId instead, which is never initialized but used, whereas nAreaId was initialized but never used. Change-Id: I9681af7f7d515d4891c9b52d3809e88e3d5e8256 Reviewed-on: https://gerrit.libreoffice.org/39062 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/tabvwsh4.cxx')
-rw-r--r--sc/source/ui/view/tabvwsh4.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index a38a87f1dd81..c43b968b7ab5 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -669,8 +669,6 @@ void ScTabViewShell::SetDrawTextShell( bool bActive )
void ScTabViewShell::SetPivotShell( bool bActive )
{
- bActivePivotSh = bActive;
-
// SetPivotShell is called from CursorPosChanged every time
// -> don't change anything except switching between cell and pivot shell
@@ -693,7 +691,6 @@ void ScTabViewShell::SetPivotShell( bool bActive )
void ScTabViewShell::SetAuditShell( bool bActive )
{
- bActiveAuditingSh = bActive;
if ( bActive )
{
bActiveDrawTextSh = bActiveDrawSh = false;
@@ -1660,14 +1657,11 @@ ScTabViewShell::ScTabViewShell( SfxViewFrame* pViewFrame,
pNavSettings(nullptr),
bActiveDrawSh(false),
bActiveDrawTextSh(false),
- bActivePivotSh(false),
- bActiveAuditingSh(false),
bActiveDrawFormSh(false),
bActiveOleObjectSh(false),
bActiveChartSh(false),
bActiveGraphicSh(false),
bActiveMediaSh(false),
- bActiveEditSh(false),
bFormShellAtTop(false),
bDontSwitch(false),
bInFormatDialog(false),