summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-02-03 22:42:56 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-02-03 21:55:50 +0000
commit092adc4991eb143bc279a4bb61da27f70c73413e (patch)
treee99d6908cfb8dd4db90e89f4d2f1bf7ea7519f69 /vcl
parented8f1c515530f6d4a9c99608da1d8b65b4b754a0 (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')
-rw-r--r--vcl/inc/svdata.hxx2
-rw-r--r--vcl/source/control/edit.cxx10
-rw-r--r--vcl/source/control/field.cxx2
-rw-r--r--vcl/source/control/spinfld.cxx2
-rw-r--r--vcl/source/window/menubarwindow.cxx2
-rw-r--r--vcl/unx/kde/salnativewidgets-kde.cxx4
-rw-r--r--vcl/unx/kde4/KDESalFrame.cxx2
7 files changed, 12 insertions, 12 deletions
diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx
index 48d6ec9ef9bf..1a03164a8b69 100644
--- a/vcl/inc/svdata.hxx
+++ b/vcl/inc/svdata.hxx
@@ -252,7 +252,7 @@ struct ImplSVNWFData
int mnMenuFormatBorderX = 0; // horizontal inner popup menu border
int mnMenuFormatBorderY = 0; // vertical inner popup menu border
int mnMenuSeparatorBorderX = 0; // gap at each side of separator
- ::Color maMenuBarHighlightTextColor = Color( COL_TRANSPARENT ); // override higlight text color
+ ::Color maMenuBarHighlightTextColor = Color( COL_TRANSPARENT ); // override highlight text color
// in menubar if not transparent
bool mbMenuBarDockingAreaCommonBG = false; // e.g. WinXP default theme
bool mbDockingAreaSeparateTB = false; // individual toolbar backgrounds
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;
diff --git a/vcl/source/window/menubarwindow.cxx b/vcl/source/window/menubarwindow.cxx
index f92290104608..be3ab27845aa 100644
--- a/vcl/source/window/menubarwindow.cxx
+++ b/vcl/source/window/menubarwindow.cxx
@@ -732,7 +732,7 @@ bool MenuBarWindow::HandleKeyEvent( const KeyEvent& rKEvent, bool bFromMenu )
// handling gtk like (aka mbOpenMenuOnF10)
// do not highlight an item when opening a sub menu
- // unless there already was a higlighted sub menu item
+ // unless there already was a highlighted sub menu item
bool bWasHighlight = false;
if( pActivePopup )
{
diff --git a/vcl/unx/kde/salnativewidgets-kde.cxx b/vcl/unx/kde/salnativewidgets-kde.cxx
index dc3cd619d649..b4d15c8a676e 100644
--- a/vcl/unx/kde/salnativewidgets-kde.cxx
+++ b/vcl/unx/kde/salnativewidgets-kde.cxx
@@ -1956,7 +1956,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
aStyleSettings.SetMenuBarColor( aMenuBack );
aStyleSettings.SetMenuHighlightColor( toColor ( qMenuCG.highlight() ) );
- // Menu items higlight text color, theme specific
+ // Menu items highlight text color, theme specific
if ( QApplication::style().inherits( "HighContrastStyle" ) ||
QApplication::style().inherits( "KeramikStyle" ) ||
QApplication::style().inherits( QWindowsStyle_String ) ||
@@ -1968,7 +1968,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
else
aStyleSettings.SetMenuHighlightTextColor( aMenuFore );
- // set special menubar higlight text color
+ // set special menubar highlight text color
if ( QApplication::style().inherits( "HighContrastStyle" ) )
ImplGetSVData()->maNWFData.maMenuBarHighlightTextColor = toColor( qMenuCG.highlightedText() );
else
diff --git a/vcl/unx/kde4/KDESalFrame.cxx b/vcl/unx/kde4/KDESalFrame.cxx
index 43dcb35d76ef..26f0e59c2ed0 100644
--- a/vcl/unx/kde4/KDESalFrame.cxx
+++ b/vcl/unx/kde4/KDESalFrame.cxx
@@ -307,7 +307,7 @@ void KDESalFrame::UpdateSettings( AllSettings& rSettings )
style.SetMenuHighlightColor( toColor ( qMenuCG.color( QPalette::Highlight ) ) );
style.SetMenuHighlightTextColor( toColor ( qMenuCG.color( QPalette::HighlightedText ) ) );
- // set special menubar higlight text color
+ // set special menubar highlight text color
if ( QApplication::style()->inherits( "HighContrastStyle" ) )
ImplGetSVData()->maNWFData.maMenuBarHighlightTextColor = toColor( qMenuCG.color( QPalette::HighlightedText ) );
else