summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-10-19 17:49:41 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-10-19 17:49:41 +0200
commit578f267a3895f6cb1a91c0ad540db8d801826676 (patch)
treee1384e01345908952d86d9f6dde79da7b7252441 /dbaccess/source/ui/dlg/indexfieldscontrol.cxx
parent4180210a27240e01c9a0db0688d51b1449e4c4b8 (diff)
loplugin:defaultparams
Change-Id: I83d411adf8ef882618bd48ab73602f7cf1531078
Diffstat (limited to 'dbaccess/source/ui/dlg/indexfieldscontrol.cxx')
-rw-r--r--dbaccess/source/ui/dlg/indexfieldscontrol.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
index b59938c439d5..3d840723c9d4 100644
--- a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
+++ b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx
@@ -311,7 +311,7 @@ namespace dbaui
OIndexField aNewField;
aNewField.sFieldName = sFieldSelected;
m_aFields.push_back(aNewField);
- RowInserted(GetRowCount(), 1, true);
+ RowInserted(GetRowCount());
}
}
else
@@ -403,14 +403,14 @@ namespace dbaui
{ // in the last row, an non-empty string has been selected
// -> insert a new row
m_aFields.push_back(OIndexField());
- RowInserted(GetRowCount(), 1);
+ RowInserted(GetRowCount());
Invalidate(GetRowRectPixel(nCurrentRow));
}
else if (sSelectedEntry.isEmpty() && (nCurrentRow == rowCount - 2))
{ // in the (last-1)th row, an empty entry has been selected
// -> remove the last row
m_aFields.erase(m_aFields.end() - 1);
- RowRemoved(GetRowCount() - 1, 1);
+ RowRemoved(GetRowCount() - 1);
Invalidate(GetRowRectPixel(nCurrentRow));
}
}