From 59371dfca363601b051ebd289d695ca040a97531 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 3 Jun 2014 14:13:22 +0200 Subject: fix spelling of field name mbColseByEdit->mbCloseByEdit Change-Id: I640491dff8378e89d37596c5fcd9e9281c6e7874 --- svx/source/sidebar/line/LineWidthControl.cxx | 14 +++++++------- svx/source/sidebar/line/LineWidthControl.hxx | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'svx') diff --git a/svx/source/sidebar/line/LineWidthControl.cxx b/svx/source/sidebar/line/LineWidthControl.cxx index 25338524a6ca..77fcea5fcfe3 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 867bd67c9d47..99a1d98312e6 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; -- cgit