summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx')
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx b/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx
index cc6d316a26c0..f0963c10f1ec 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignFieldUndoAct.hxx
@@ -31,7 +31,7 @@ namespace dbaui
{
protected:
VclPtr<OSelectionBrowseBox> pOwner;
- sal_uInt16 m_nColumnPostion;
+ sal_uInt16 m_nColumnPosition;
virtual void Undo() override = 0;
virtual void Redo() override = 0;
@@ -42,9 +42,9 @@ namespace dbaui
inline void SetColumnPosition(sal_uInt16 _nColumnPostion)
{
- m_nColumnPostion = _nColumnPostion;
- OSL_ENSURE(m_nColumnPostion != BROWSER_INVALIDID,"Column position was not set add the undo action!");
- OSL_ENSURE(m_nColumnPostion < pOwner->GetColumnCount(),"Position outside the column count!");
+ m_nColumnPosition = _nColumnPostion;
+ 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!");
}
};
@@ -102,7 +102,7 @@ namespace dbaui
class OTabFieldDelUndoAct : public OTabFieldUndoAct
{
protected:
- virtual void Undo() override { pOwner->EnterUndoMode();pOwner->InsertColumn(pDescr, m_nColumnPostion);pOwner->LeaveUndoMode(); }
+ virtual void Undo() override { pOwner->EnterUndoMode();pOwner->InsertColumn(pDescr, m_nColumnPosition);pOwner->LeaveUndoMode(); }
virtual void Redo() override { pOwner->EnterUndoMode();pOwner->RemoveColumn(pDescr->GetColumnId());pOwner->LeaveUndoMode(); }
public:
@@ -116,7 +116,7 @@ namespace dbaui
{
protected:
virtual void Undo() override { pOwner->EnterUndoMode();pOwner->RemoveColumn(pDescr->GetColumnId());pOwner->LeaveUndoMode();}
- virtual void Redo() override { pOwner->EnterUndoMode();pOwner->InsertColumn(pDescr, m_nColumnPostion);pOwner->LeaveUndoMode();}
+ virtual void Redo() override { pOwner->EnterUndoMode();pOwner->InsertColumn(pDescr, m_nColumnPosition);pOwner->LeaveUndoMode();}
public:
explicit OTabFieldCreateUndoAct(OSelectionBrowseBox* pSelBrwBox) : OTabFieldUndoAct(pSelBrwBox, STR_QUERY_UNDO_TABFIELDCREATE) { }