diff options
author | Philipp Riemer <ruderphilipp@gmail.com> | 2013-08-31 22:30:22 +0200 |
---|---|---|
committer | Philipp Riemer <ruderphilipp@gmail.com> | 2013-08-31 22:41:12 +0200 |
commit | f212aa9f84246f9bc1feb3b169885c5e717a10cd (patch) | |
tree | c2f8dfc5576a37c9881d0d024a89bbc2fe8d5ff9 /svx/source/fmcomp | |
parent | 8d6da3b8aed0b523375e00eb5b5e3c2b4ca89edf (diff) |
fix existing comments
Change-Id: I06dca63053dae5d3dceb49bf67adb0c100b56e8b
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r-- | svx/source/fmcomp/gridctrl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/fmcomp/gridctrl.cxx b/svx/source/fmcomp/gridctrl.cxx index 4806a912eba7..110a87c85502 100644 --- a/svx/source/fmcomp/gridctrl.cxx +++ b/svx/source/fmcomp/gridctrl.cxx @@ -2662,7 +2662,7 @@ void DbGridControl::PostExecuteRowContextMenu(sal_uInt16 /*nRow*/, const PopupMe switch (nExecutionResult) { case SID_FM_DELETEROWS: - // delete asynchron + // delete asynchronously if (m_nDeleteEvent) Application::RemoveUserEvent(m_nDeleteEvent); m_nDeleteEvent = Application::PostUserEvent(LINK(this,DbGridControl,OnDelete)); @@ -3012,7 +3012,7 @@ void DbGridControl::Undo() m_xCurrentRow = m_xDataRow; if (bAppending && (DbGridControl_Base::IsModified() || bDirty)) - // remove the row + // remove the row if (m_nCurrentPos == GetRowCount() - 2) { // maybe we already removed it (in resetCurrentRow, called if the above moveToInsertRow // caused our data source form to be reset - which should be the usual case ....) @@ -3057,7 +3057,7 @@ void DbGridControl::resetCurrentRow() m_xCurrentRow = m_xDataRow; } - RowModified(GetCurRow()); // will update the current controller if affected + RowModified(GetCurRow()); // will update the current controller if affected } void DbGridControl::RowModified( long nRow, sal_uInt16 /*nColId*/ ) @@ -3250,7 +3250,7 @@ long DbGridControl::PreNotify(NotifyEvent& rEvt) { if ((m_nOptions & OPT_DELETE) && GetSelectRowCount()) { - // delete asynchron + // delete asynchronously if (m_nDeleteEvent) Application::RemoveUserEvent(m_nDeleteEvent); m_nDeleteEvent = Application::PostUserEvent(LINK(this,DbGridControl,OnDelete)); |