summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-26 16:59:15 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-26 17:00:12 +0100
commit0d4d89b6687fe7c735b22e56175abd2de2133798 (patch)
treed28d20ba5c5c31c374b718f86d00b70b521bed9a
parent1378814a8273a0c8f11fef7ca8c42315c33241bb (diff)
Related: tdf#91542 line box width cannot be changed
Change-Id: Ibbeefcff785ee76a1a7ce46d98c1006fc8fe46fc (cherry picked from commit 2efb9d3c9841397cca3a66714504ee25d2120bd2)
-rw-r--r--svx/source/sidebar/line/LineWidthControl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sidebar/line/LineWidthControl.cxx b/svx/source/sidebar/line/LineWidthControl.cxx
index 6723f6b1286f..2ee411ca4c82 100644
--- a/svx/source/sidebar/line/LineWidthControl.cxx
+++ b/svx/source/sidebar/line/LineWidthControl.cxx
@@ -263,7 +263,7 @@ void LineWidthControl::SetWidthSelect( long lValue, bool bValuable, SfxMapUnit e
IMPL_LINK(LineWidthControl, VSSelectHdl, void *, pControl)
{
- if (pControl == &maVSWidth)
+ if (pControl == maVSWidth.get())
{
sal_uInt16 iPos = maVSWidth->GetSelectItemId();
if (iPos >= 1 && iPos <= 8)
@@ -308,7 +308,7 @@ IMPL_LINK(LineWidthControl, VSSelectHdl, void *, pControl)
IMPL_LINK(LineWidthControl, MFModifyHdl, void *, pControl)
{
- if(pControl == &maMFWidth)
+ if (pControl == maMFWidth.get())
{
if(maVSWidth->GetSelItem())
{