summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/line/LineWidthPopup.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-06-20 14:26:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-21 11:13:52 +0200
commit95c348afa8f4f17c058c449ded75025175af0e4a (patch)
tree88f21ab151fbbf5c79e9adf4bae8dfb920c9e85a /svx/source/sidebar/line/LineWidthPopup.cxx
parent2149d4a88e9dc88c30e7475f8ea317e5c7b78529 (diff)
loplugin:unusedfields in svx part2
Change-Id: Ie9fd55b71a152f428a397d9917918f0e9de39aaf Reviewed-on: https://gerrit.libreoffice.org/39014 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/sidebar/line/LineWidthPopup.cxx')
-rw-r--r--svx/source/sidebar/line/LineWidthPopup.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/svx/source/sidebar/line/LineWidthPopup.cxx b/svx/source/sidebar/line/LineWidthPopup.cxx
index 45c9f0db3d54..408619a6d364 100644
--- a/svx/source/sidebar/line/LineWidthPopup.cxx
+++ b/svx/source/sidebar/line/LineWidthPopup.cxx
@@ -36,9 +36,7 @@ LineWidthPopup::LineWidthPopup(LinePropertyPanelBase& rParent)
, m_eMapUnit(MapUnit::MapTwip)
, m_bVSFocus(true)
, m_bCustom(false)
- , m_bCloseByEdit(false)
, m_nCustomWidth(0)
- , m_nTmpCustomWidth(0)
, m_aIMGCus(BitmapEx(RID_SVXBMP_WIDTH_CUSTOM))
, m_aIMGCusGray(BitmapEx(RID_SVXBMP_WIDTH_CUSTOM_GRAY))
{
@@ -123,8 +121,6 @@ IMPL_LINK(LineWidthPopup, VSSelectHdl, ValueSet*, /*pControl*/, void)
m_rParent.setLineWidth(aWidthItem);
m_rParent.SetWidthIcon(iPos);
m_rParent.SetWidth(nVal);
- m_bCloseByEdit = false;
- m_nTmpCustomWidth = 0;
}
else if (iPos == 9)
{//last custom
@@ -136,8 +132,6 @@ IMPL_LINK(LineWidthPopup, VSSelectHdl, ValueSet*, /*pControl*/, void)
XLineWidthItem aWidthItem( nVal );
m_rParent.setLineWidth(aWidthItem);
m_rParent.SetWidth(nVal);
- m_bCloseByEdit = false;
- m_nTmpCustomWidth = 0;
}
else
{
@@ -170,16 +164,12 @@ IMPL_LINK(LineWidthPopup, MFModifyHdl, Edit&, /*rControl*/, void)
sal_Int32 nNewWidth = (short)m_xMFWidth->Denormalize( nVal );
XLineWidthItem aWidthItem(nNewWidth);
m_rParent.setLineWidth(aWidthItem);
-
- m_bCloseByEdit = true;
- m_nTmpCustomWidth = nTmp;
}
void LineWidthPopup::SetWidthSelect(long lValue, bool bValuable, MapUnit eMapUnit)
{
m_bVSFocus = true;
m_xVSWidth->SetSelItem(0);
- m_bCloseByEdit = false;
m_eMapUnit = eMapUnit;
SvtViewOptions aWinOpt( EViewType::Window, SIDEBAR_LINE_WIDTH_GLOBAL_VALUE );
if (aWinOpt.Exists())