diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2015-09-29 18:09:57 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2015-09-30 06:19:19 +0000 |
commit | f0733ee8c9de62818867c656518cecf0986dda0f (patch) | |
tree | 758deefce87659bf071a167ca9b6e207a693de5a /svx/source/fmcomp | |
parent | 2de378ecacd95d7ac52275b34f3fda281d477dbe (diff) |
Fix typos
Change-Id: I7bb3caf76909603343f50568b68e3eadeb1cac30
Reviewed-on: https://gerrit.libreoffice.org/18980
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r-- | svx/source/fmcomp/fmgridcl.cxx | 2 | ||||
-rw-r--r-- | svx/source/fmcomp/gridctrl.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/fmcomp/fmgridcl.cxx b/svx/source/fmcomp/fmgridcl.cxx index 946ea5d5641d..1ace5f84963b 100644 --- a/svx/source/fmcomp/fmgridcl.cxx +++ b/svx/source/fmcomp/fmgridcl.cxx @@ -1966,7 +1966,7 @@ void FmGridControl::Select() { case SAL_MAX_UINT16: break; // no selection case 0 : nSelectedColumn = SAL_MAX_UINT16; break; - // handle col can't be seledted + // handle col can't be selected default : // get the model col pos instead of the view col pos nSelectedColumn = GetModelColumnPos(GetColumnIdFromViewPos(nSelectedColumn - 1)); diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index f7a190fd47ee..fdd2bddd25db 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -2497,7 +2497,7 @@ void DbGridControl::MoveToNext() if(!bOk) { AdjustRows(); - if (m_nTotalCount > 0) // only to avoid infinte recursion + if (m_nTotalCount > 0) // only to avoid infinite recursion MoveToNext(); } } @@ -3370,7 +3370,7 @@ void DbGridControl::ShowColumn(sal_uInt16 nId) } } sal_uInt16 nNewViewPos = (nNextNonHidden == BROWSER_INVALIDID) - ? 1 // there is no visible column -> insert behinde the handle col + ? 1 // there is no visible column -> insert behind the handle col : GetViewColumnPos( m_aColumns[ nNextNonHidden ]->GetId() ) + 1; // the first non-handle col has "view pos" 0, but the pos arg for InsertDataColumn expects // a position 1 for the first non-handle col -> +1 |