summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx2
-rw-r--r--dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx7
2 files changed, 4 insertions, 5 deletions
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index 455adc02121d..fe306eb14b6f 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -1625,7 +1625,7 @@ void OSelectionBrowseBox::CheckFreeColumns(sal_uInt16& _rColumnPosition)
{
if (FindFirstFreeCol(_rColumnPosition) == nullptr)
{
- // it is full, append a Packen column
+ // it is full, so append a pack of columns
AppendNewCol(DEFAULT_QUERY_COLS);
OSL_VERIFY(FindFirstFreeCol(_rColumnPosition).is());
}
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
index c7bc3715c057..dca0b97052c1 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.hxx
@@ -210,12 +210,11 @@ namespace dbaui
OTableFieldDescRef FindFirstFreeCol(sal_uInt16& _rColumnPosition);
- // rCol contains the Nummer (in pOTableFieldDescList) of the first column, which itself tells it is empty
+ // rCol contains the number (in pOTableFieldDescList) of the first column, which itself tells it is empty
// if there are none, rCol is undefined and the returnvalue NULL
void CheckFreeColumns(sal_uInt16& _rColumnPosition);
-
- // check if empty columns are available, if not, a new Packen is appended
- // rCol contains the Nummer of the first empty column (in pOTableFieldDescList)
+ // checks if empty columns are available, if not, a new pack is appended
+ // rCol contains the number of the first empty column (in pOTableFieldDescList)
void RemoveField( sal_uInt16 nId );
tools::Rectangle GetInvalidRect( sal_uInt16 nColId );