[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - svx/source

Caolán McNamara caolanm at redhat.com
Tue May 26 09:00:48 PDT 2015


 svx/source/sidebar/line/LineWidthControl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 0d4d89b6687fe7c735b22e56175abd2de2133798
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue May 26 16:59:15 2015 +0100

    Related: tdf#91542 line box width cannot be changed
    
    Change-Id: Ibbeefcff785ee76a1a7ce46d98c1006fc8fe46fc
    (cherry picked from commit 2efb9d3c9841397cca3a66714504ee25d2120bd2)

diff --git a/svx/source/sidebar/line/LineWidthControl.cxx b/svx/source/sidebar/line/LineWidthControl.cxx
index 6723f6b..2ee411c 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())
         {


More information about the Libreoffice-commits mailing list