[Libreoffice-commits] core.git: svx/source

Noel Grandin noel at peralex.com
Tue Jun 3 05:14:30 PDT 2014


 svx/source/sidebar/line/LineWidthControl.cxx |   14 +++++++-------
 svx/source/sidebar/line/LineWidthControl.hxx |    2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)

New commits:
commit 59371dfca363601b051ebd289d695ca040a97531
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Jun 3 14:13:22 2014 +0200

    fix spelling of field name mbColseByEdit->mbCloseByEdit
    
    Change-Id: I640491dff8378e89d37596c5fcd9e9281c6e7874

diff --git a/svx/source/sidebar/line/LineWidthControl.cxx b/svx/source/sidebar/line/LineWidthControl.cxx
index 2533852..77fcea5 100644
--- a/svx/source/sidebar/line/LineWidthControl.cxx
+++ b/svx/source/sidebar/line/LineWidthControl.cxx
@@ -50,7 +50,7 @@ LineWidthControl::LineWidthControl (
       mstrPT(SVX_RESSTR(STR_PT)),
       mnCustomWidth(0),
       mbCustom(false),
-      mbColseByEdit(false),
+      mbCloseByEdit(false),
       mnTmpCusomWidth(0),
       mbVSFocus(true),
       maIMGCus(SVX_RES(IMG_WIDTH_CUSTOM)),
@@ -198,7 +198,7 @@ void LineWidthControl::SetWidthSelect( long lValue, bool bValuable, SfxMapUnit e
 {
     mbVSFocus = true;
     maVSWidth.SetSelItem(0);
-    mbColseByEdit = false;
+    mbCloseByEdit = false;
     meMapUnit = eMapUnit;
     SvtViewOptions aWinOpt( E_WINDOW, SIDEBAR_LINE_WIDTH_GLOBAL_VALUE );
     if ( aWinOpt.Exists() )
@@ -277,7 +277,7 @@ IMPL_LINK(LineWidthControl, VSSelectHdl, void *, pControl)
             mpBindings->GetDispatcher()->Execute(SID_ATTR_LINE_WIDTH, SFX_CALLMODE_RECORD, &aWidthItem, 0L);
             mrLinePropertyPanel.SetWidthIcon(iPos);
             mrLinePropertyPanel.SetWidth(nVal);
-            mbColseByEdit = false;
+            mbCloseByEdit = false;
             mnTmpCusomWidth = 0;
         }
         else if(iPos == 9)
@@ -290,7 +290,7 @@ IMPL_LINK(LineWidthControl, VSSelectHdl, void *, pControl)
                 XLineWidthItem aWidthItem( nVal );
                 mpBindings->GetDispatcher()->Execute(SID_ATTR_LINE_WIDTH, SFX_CALLMODE_RECORD, &aWidthItem, 0L);
                 mrLinePropertyPanel.SetWidth(nVal);
-                mbColseByEdit = false;
+                mbCloseByEdit = false;
                 mnTmpCusomWidth = 0;
             }
             else
@@ -328,13 +328,13 @@ IMPL_LINK(LineWidthControl, MFModifyHdl, void *, pControl)
         XLineWidthItem aWidthItem(nNewWidth);
         mpBindings->GetDispatcher()->Execute(SID_ATTR_LINE_WIDTH, SFX_CALLMODE_RECORD, &aWidthItem, 0L);
 
-        mbColseByEdit = true;
+        mbCloseByEdit = true;
         mnTmpCusomWidth = nTmp;
         /*for(sal_uInt16 i = 0; i < 8; i++)
         {
             if(nTmp == (sal_Int32)maVSWidth.GetItemData(i))
             {
-                mbColseByEdit = false;
+                mbCloseByEdit = false;
                 break;
             }
         }*/
@@ -348,7 +348,7 @@ IMPL_LINK(LineWidthControl, MFModifyHdl, void *, pControl)
 
 bool LineWidthControl::IsCloseByEdit()
 {
-    return mbColseByEdit;
+    return mbCloseByEdit;
 }
 
 
diff --git a/svx/source/sidebar/line/LineWidthControl.hxx b/svx/source/sidebar/line/LineWidthControl.hxx
index 867bd67..99a1d98 100644
--- a/svx/source/sidebar/line/LineWidthControl.hxx
+++ b/svx/source/sidebar/line/LineWidthControl.hxx
@@ -58,7 +58,7 @@ private:
     OUString                            mstrPT;
     long                                mnCustomWidth;
     bool                                mbCustom;
-    bool                                mbColseByEdit;
+    bool                                mbCloseByEdit;
     long                                mnTmpCusomWidth;
     bool                                mbVSFocus;
 


More information about the Libreoffice-commits mailing list