summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-03 14:13:22 +0200
committerNoel Grandin <noel@peralex.com>2014-06-03 14:13:22 +0200
commit59371dfca363601b051ebd289d695ca040a97531 (patch)
tree6fbbec6d8e08f525346449a415873c7442ab2a7e /svx
parente2b260fc98e833d4e64426b90992094f2da0498c (diff)
fix spelling of field name mbColseByEdit->mbCloseByEdit
Change-Id: I640491dff8378e89d37596c5fcd9e9281c6e7874
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/line/LineWidthControl.cxx14
-rw-r--r--svx/source/sidebar/line/LineWidthControl.hxx2
2 files changed, 8 insertions, 8 deletions
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;