summaryrefslogtreecommitdiff
path: root/svx
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 16:59:44 +0100
commit2efb9d3c9841397cca3a66714504ee25d2120bd2 (patch)
tree6e0be8f1e2112e93fb454bb7868a960dce23d67a /svx
parent662906ea642c8332428487f0766fb7394fdfd35c (diff)
Related: tdf#91542 line box width cannot be changed
Change-Id: Ibbeefcff785ee76a1a7ce46d98c1006fc8fe46fc
Diffstat (limited to 'svx')
-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())
{