From c6eddeca7da7bb86087af212e5409aa6c75513ce Mon Sep 17 00:00:00 2001 From: Andrea Gelmini Date: Wed, 8 May 2019 10:13:52 +0000 Subject: Fix typo Change-Id: I6af2b1ead6448be9b5a47fcd6ef3fb16acccc52b Reviewed-on: https://gerrit.libreoffice.org/72153 Tested-by: Jenkins Reviewed-by: Julien Nabet --- dbaccess/source/ui/dlg/indexfieldscontrol.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx index 27beb4654d78..e7782a560c8a 100644 --- a/dbaccess/source/ui/dlg/indexfieldscontrol.cxx +++ b/dbaccess/source/ui/dlg/indexfieldscontrol.cxx @@ -385,7 +385,7 @@ static constexpr auto BROWSER_STANDARD_FLAGS = BrowserMode::COLUMNSELECTION | Br OSL_ENSURE((static_cast(m_aFields.size() + 1)) == rowCount, "IndexFieldsControl::OnListEntrySelected: inconsistence!"); if (!sSelectedEntry.isEmpty() && (nCurrentRow == rowCount - 1) /*&& (!m_nMaxColumnsInIndex || rowCount < m_nMaxColumnsInIndex )*/ ) - { // in the last row, an non-empty string has been selected + { // in the last row, a non-empty string has been selected // -> insert a new row m_aFields.emplace_back(); RowInserted(GetRowCount()); -- cgit