summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2015-09-29 18:12:15 +0200
committerJoren De Cuyper <jorendc@libreoffice.org>2015-09-29 22:19:19 +0000
commita2a5187a8ff7b8a18db51a471bd934e5a94c155c (patch)
treebd7a6fbd0815bf3f6172f60bedbac6d74d363c30 /toolkit
parent3406ae78a5bcd02551ce518ca1affba021dbab04 (diff)
Fix typos
Change-Id: Ifddd2533b767924791338555031b848c59980c52 Reviewed-on: https://gerrit.libreoffice.org/18989 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/qa/complex/toolkit/GridControl.java2
-rw-r--r--toolkit/source/controls/controlmodelcontainerbase.cxx2
-rw-r--r--toolkit/source/controls/unocontrols.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/toolkit/qa/complex/toolkit/GridControl.java b/toolkit/qa/complex/toolkit/GridControl.java
index 7edb597c5593..7441767714a0 100644
--- a/toolkit/qa/complex/toolkit/GridControl.java
+++ b/toolkit/qa/complex/toolkit/GridControl.java
@@ -208,7 +208,7 @@ public class GridControl
test.testUpdateRowHeading();
test.cleanup();
- // a somehwat less straight-forward test: the data model is expected to implicitly increase its column count
+ // a somewhat less straight-forward test: the data model is expected to implicitly increase its column count
// when you add a row which has more columns than currently known
final XMutableGridDataModel dataModel = DefaultGridDataModel.create( m_context );
dataModel.addRow( 0, new Object[] { 1 } );
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx
index d9c48e1b6674..526a47c2772b 100644
--- a/toolkit/source/controls/controlmodelcontainerbase.cxx
+++ b/toolkit/source/controls/controlmodelcontainerbase.cxx
@@ -1451,7 +1451,7 @@ void ControlContainerBase::ImplSetPosSize( Reference< XControl >& rxCtrl )
}
sal_Int16 nH = aFM.Ascent + aFM.Descent;
- sal_Int16 nW = nH/2; // calculate avarege width?!
+ sal_Int16 nW = nH/2; // calculate average width?!
nX *= nW;
nX /= 4;
diff --git a/toolkit/source/controls/unocontrols.cxx b/toolkit/source/controls/unocontrols.cxx
index 8e2d3c982178..58dd96d61df4 100644
--- a/toolkit/source/controls/unocontrols.cxx
+++ b/toolkit/source/controls/unocontrols.cxx
@@ -1338,7 +1338,7 @@ void UnoRadioButtonControl::itemStateChanged( const awt::ItemEvent& rEvent ) thr
maItemListeners.itemStateChanged( rEvent );
}
// note that speaking stricly, this is wrong: When in 1.0.x, the user would have de-selected
- // a radio button _without_ selecing another one, this would have caused a notification.
+ // a radio button _without_ selecting another one, this would have caused a notification.
// With the change done here, this today won't cause a notification anymore.
// Fortunately, it's not possible for the user to de-select a radio button without selecting another on,