diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2017-02-03 22:42:56 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-02-03 21:55:50 +0000 |
commit | 092adc4991eb143bc279a4bb61da27f70c73413e (patch) | |
tree | e99d6908cfb8dd4db90e89f4d2f1bf7ea7519f69 /vcl/source/control | |
parent | ed8f1c515530f6d4a9c99608da1d8b65b4b754a0 (diff) |
Typos
Change-Id: Ic54695e86b4b462419fa7d5ded7b1ddb19ee8ed5
Reviewed-on: https://gerrit.libreoffice.org/33904
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'vcl/source/control')
-rw-r--r-- | vcl/source/control/edit.cxx | 10 | ||||
-rw-r--r-- | vcl/source/control/field.cxx | 2 | ||||
-rw-r--r-- | vcl/source/control/spinfld.cxx | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index b3a581e601b7..63e9a700e739 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -549,8 +549,8 @@ void Edit::ImplRepaint(vcl::RenderContext& rRenderContext, const Rectangle& rRec { // save graphics state rRenderContext.Push(); - // first calculate higlighted and non highlighted clip regions - vcl::Region aHiglightClipRegion; + // first calculate highlighted and non highlighted clip regions + vcl::Region aHighlightClipRegion; vcl::Region aNormalClipRegion; Selection aTmpSel(maSelection); aTmpSel.Justify(); @@ -573,7 +573,7 @@ void Edit::ImplRepaint(vcl::RenderContext& rRenderContext, const Rectangle& rRec } if (bHighlight) - aHiglightClipRegion.Union(aRect); + aHighlightClipRegion.Union(aRect); else aNormalClipRegion.Union(aRect); } @@ -601,7 +601,7 @@ void Edit::ImplRepaint(vcl::RenderContext& rRenderContext, const Rectangle& rRec rRenderContext.DrawText(aPos, aText, 0, nLen); // draw highlighted text - rRenderContext.SetClipRegion(aHiglightClipRegion); + rRenderContext.SetClipRegion(aHighlightClipRegion); rRenderContext.SetTextColor(rStyleSettings.GetHighlightTextColor()); rRenderContext.SetTextFillColor(rStyleSettings.GetHighlightColor()); rRenderContext.DrawText(aPos, aText, 0, nLen); @@ -625,7 +625,7 @@ void Edit::ImplRepaint(vcl::RenderContext& rRenderContext, const Rectangle& rRec { rRenderContext.SetTextColor(rStyleSettings.GetHighlightTextColor()); rRenderContext.SetTextFillColor(rStyleSettings.GetHighlightColor()); - aRegion = aHiglightClipRegion; + aRegion = aHighlightClipRegion; } for(int i = 0; i < mpIMEInfos->nLen; ) diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index 50c83c1b20d8..d0fc8269d681 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -184,7 +184,7 @@ bool ImplNumericGetValue( const OUString& rStr, sal_Int64& rValue, bNegative = true; } - // remove all unwanted charaters + // remove all unwanted characters // For whole number for (sal_Int32 i=0; i < aStr1.getLength(); ) { diff --git a/vcl/source/control/spinfld.cxx b/vcl/source/control/spinfld.cxx index 2acd8fe128f6..c561cbbd26aa 100644 --- a/vcl/source/control/spinfld.cxx +++ b/vcl/source/control/spinfld.cxx @@ -630,7 +630,7 @@ void SpinField::ImplCalcButtonAreas(OutputDevice* pDev, const Size& rOutSz, Rect else rDDArea.SetEmpty(); - // calcuate sizes according to the height + // calculate sizes according to the height if (GetStyle() & WB_SPIN) { long nBottom1 = aSize.Height()/2; |