Kaydet (Commit) 59371dfc authored tarafından Noel Grandin's avatar Noel Grandin

fix spelling of field name mbColseByEdit->mbCloseByEdit

Change-Id: I640491dff8378e89d37596c5fcd9e9281c6e7874
üst e2b260fc
...@@ -50,7 +50,7 @@ LineWidthControl::LineWidthControl ( ...@@ -50,7 +50,7 @@ LineWidthControl::LineWidthControl (
mstrPT(SVX_RESSTR(STR_PT)), mstrPT(SVX_RESSTR(STR_PT)),
mnCustomWidth(0), mnCustomWidth(0),
mbCustom(false), mbCustom(false),
mbColseByEdit(false), mbCloseByEdit(false),
mnTmpCusomWidth(0), mnTmpCusomWidth(0),
mbVSFocus(true), mbVSFocus(true),
maIMGCus(SVX_RES(IMG_WIDTH_CUSTOM)), maIMGCus(SVX_RES(IMG_WIDTH_CUSTOM)),
...@@ -198,7 +198,7 @@ void LineWidthControl::SetWidthSelect( long lValue, bool bValuable, SfxMapUnit e ...@@ -198,7 +198,7 @@ void LineWidthControl::SetWidthSelect( long lValue, bool bValuable, SfxMapUnit e
{ {
mbVSFocus = true; mbVSFocus = true;
maVSWidth.SetSelItem(0); maVSWidth.SetSelItem(0);
mbColseByEdit = false; mbCloseByEdit = false;
meMapUnit = eMapUnit; meMapUnit = eMapUnit;
SvtViewOptions aWinOpt( E_WINDOW, SIDEBAR_LINE_WIDTH_GLOBAL_VALUE ); SvtViewOptions aWinOpt( E_WINDOW, SIDEBAR_LINE_WIDTH_GLOBAL_VALUE );
if ( aWinOpt.Exists() ) if ( aWinOpt.Exists() )
...@@ -277,7 +277,7 @@ IMPL_LINK(LineWidthControl, VSSelectHdl, void *, pControl) ...@@ -277,7 +277,7 @@ IMPL_LINK(LineWidthControl, VSSelectHdl, void *, pControl)
mpBindings->GetDispatcher()->Execute(SID_ATTR_LINE_WIDTH, SFX_CALLMODE_RECORD, &aWidthItem, 0L); mpBindings->GetDispatcher()->Execute(SID_ATTR_LINE_WIDTH, SFX_CALLMODE_RECORD, &aWidthItem, 0L);
mrLinePropertyPanel.SetWidthIcon(iPos); mrLinePropertyPanel.SetWidthIcon(iPos);
mrLinePropertyPanel.SetWidth(nVal); mrLinePropertyPanel.SetWidth(nVal);
mbColseByEdit = false; mbCloseByEdit = false;
mnTmpCusomWidth = 0; mnTmpCusomWidth = 0;
} }
else if(iPos == 9) else if(iPos == 9)
...@@ -290,7 +290,7 @@ IMPL_LINK(LineWidthControl, VSSelectHdl, void *, pControl) ...@@ -290,7 +290,7 @@ IMPL_LINK(LineWidthControl, VSSelectHdl, void *, pControl)
XLineWidthItem aWidthItem( nVal ); XLineWidthItem aWidthItem( nVal );
mpBindings->GetDispatcher()->Execute(SID_ATTR_LINE_WIDTH, SFX_CALLMODE_RECORD, &aWidthItem, 0L); mpBindings->GetDispatcher()->Execute(SID_ATTR_LINE_WIDTH, SFX_CALLMODE_RECORD, &aWidthItem, 0L);
mrLinePropertyPanel.SetWidth(nVal); mrLinePropertyPanel.SetWidth(nVal);
mbColseByEdit = false; mbCloseByEdit = false;
mnTmpCusomWidth = 0; mnTmpCusomWidth = 0;
} }
else else
...@@ -328,13 +328,13 @@ IMPL_LINK(LineWidthControl, MFModifyHdl, void *, pControl) ...@@ -328,13 +328,13 @@ IMPL_LINK(LineWidthControl, MFModifyHdl, void *, pControl)
XLineWidthItem aWidthItem(nNewWidth); XLineWidthItem aWidthItem(nNewWidth);
mpBindings->GetDispatcher()->Execute(SID_ATTR_LINE_WIDTH, SFX_CALLMODE_RECORD, &aWidthItem, 0L); mpBindings->GetDispatcher()->Execute(SID_ATTR_LINE_WIDTH, SFX_CALLMODE_RECORD, &aWidthItem, 0L);
mbColseByEdit = true; mbCloseByEdit = true;
mnTmpCusomWidth = nTmp; mnTmpCusomWidth = nTmp;
/*for(sal_uInt16 i = 0; i < 8; i++) /*for(sal_uInt16 i = 0; i < 8; i++)
{ {
if(nTmp == (sal_Int32)maVSWidth.GetItemData(i)) if(nTmp == (sal_Int32)maVSWidth.GetItemData(i))
{ {
mbColseByEdit = false; mbCloseByEdit = false;
break; break;
} }
}*/ }*/
...@@ -348,7 +348,7 @@ IMPL_LINK(LineWidthControl, MFModifyHdl, void *, pControl) ...@@ -348,7 +348,7 @@ IMPL_LINK(LineWidthControl, MFModifyHdl, void *, pControl)
bool LineWidthControl::IsCloseByEdit() bool LineWidthControl::IsCloseByEdit()
{ {
return mbColseByEdit; return mbCloseByEdit;
} }
......
...@@ -58,7 +58,7 @@ private: ...@@ -58,7 +58,7 @@ private:
OUString mstrPT; OUString mstrPT;
long mnCustomWidth; long mnCustomWidth;
bool mbCustom; bool mbCustom;
bool mbColseByEdit; bool mbCloseByEdit;
long mnTmpCusomWidth; long mnTmpCusomWidth;
bool mbVSFocus; bool mbVSFocus;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment