summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-01-30 14:36:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-01-30 16:17:45 +0100
commitfacc94bb0aef58353d54e14f948790643ccbec32 (patch)
tree00da6a066f7acd65787730ffbe78b6439e5bf148 /svx
parentb87af9775167002d36a3bc16cb308ea7895d7ea0 (diff)
loplugin:unusedfields
Change-Id: Ifb9c91b3e8d6c2dd3a639a239fa41e7d5c7a4ee6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87735 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/tbxctrls/extrusioncontrols.cxx5
-rw-r--r--svx/source/tbxctrls/extrusioncontrols.hxx3
2 files changed, 0 insertions, 8 deletions
diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx
index 3ada4301154a..b58df356877f 100644
--- a/svx/source/tbxctrls/extrusioncontrols.cxx
+++ b/svx/source/tbxctrls/extrusioncontrols.cxx
@@ -586,8 +586,6 @@ ExtrusionLightingWindow::ExtrusionLightingWindow(svt::PopupWindowController* pCo
, mxBright(m_xBuilder->weld_radio_button("bright"))
, mxNormal(m_xBuilder->weld_radio_button("normal"))
, mxDim(m_xBuilder->weld_radio_button("dim"))
- , mnDirection(FROM_FRONT)
- , mbDirectionEnabled(false)
{
mxLightingSet->SetStyle(WB_TABSTOP | WB_MENUSTYLEVALUESET | WB_FLATVALUESET | WB_NOBORDER | WB_NO_DIRECTSELECT);
@@ -651,9 +649,6 @@ void ExtrusionLightingWindow::implSetIntensity( int nLevel, bool bEnabled )
void ExtrusionLightingWindow::implSetDirection( int nDirection, bool bEnabled )
{
- mnDirection = nDirection;
- mbDirectionEnabled = bEnabled;
-
if( !bEnabled )
nDirection = FROM_FRONT;
diff --git a/svx/source/tbxctrls/extrusioncontrols.hxx b/svx/source/tbxctrls/extrusioncontrols.hxx
index e323ee1b9dd7..e4c10ff796ca 100644
--- a/svx/source/tbxctrls/extrusioncontrols.hxx
+++ b/svx/source/tbxctrls/extrusioncontrols.hxx
@@ -149,9 +149,6 @@ private:
Image maImgLightingOn[9];
Image maImgLightingPreview[9];
- int mnDirection;
- bool mbDirectionEnabled;
-
void implSetIntensity( int nLevel, bool bEnabled );
void implSetDirection( int nDirection, bool bEnabled );