summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2017-01-07 08:44:44 +0100
committerJulien Nabet <serval2412@yahoo.fr>2017-01-07 10:08:36 +0000
commit471b58e19048419592a87e27860019ae02feca15 (patch)
treeb1151574d40769d82d1814578a89c1f565c74be4 /dbaccess
parent252e42cb5448f40c4bb26dbdf732168ff466b8ea (diff)
Typo: Postion->Position
Found thanks to Buovjaga Change-Id: Iacf09325cdb58e0dbdcc9bf0570b2e02ed275132 Reviewed-on: https://gerrit.libreoffice.org/32808 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx4
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx10
2 files changed, 7 insertions, 7 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx b/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx
index f0963c10f1ec..b5de8518dd59 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx
@@ -40,9 +40,9 @@ namespace dbaui
OQueryDesignFieldUndoAct(OSelectionBrowseBox* pSelBrwBox, sal_uInt16 nCommentID);
virtual ~OQueryDesignFieldUndoAct() override;
- inline void SetColumnPosition(sal_uInt16 _nColumnPostion)
+ inline void SetColumnPosition(sal_uInt16 _nColumnPosition)
{
- m_nColumnPosition = _nColumnPostion;
+ m_nColumnPosition = _nColumnPosition;
OSL_ENSURE(m_nColumnPosition != BROWSER_INVALIDID,"Column position was not set add the undo action!");
OSL_ENSURE(m_nColumnPosition < pOwner->GetColumnCount(),"Position outside the column count!");
}
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index ea8f22f0976e..8d421eefe09c 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -742,15 +742,15 @@ bool OSelectionBrowseBox::saveField(OUString& _sFieldName ,OTableFieldDescRef& _
{
if ( i > 0 ) // may we have to append more than one field
{
- sal_uInt16 nColumnPostion;
- aSelEntry = FindFirstFreeCol(nColumnPostion);
+ sal_uInt16 nColumnPosition;
+ aSelEntry = FindFirstFreeCol(nColumnPosition);
if ( !aSelEntry.is() )
{
AppendNewCol();
- aSelEntry = FindFirstFreeCol(nColumnPostion);
+ aSelEntry = FindFirstFreeCol(nColumnPosition);
}
- ++nColumnPostion;
- nColumnId = GetColumnId(nColumnPostion);
+ ++nColumnPosition;
+ nColumnId = GetColumnId(nColumnPosition);
}
::connectivity::OSQLParseNode* pChild = pSelection->getChild( i );