summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/RowSetDrop.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-15 09:34:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-15 12:37:30 +0100
commitf388d1dbb2edc1d678a658572bef6af4046728ff (patch)
tree926589ed828ef567225621c60b4085e7dca9d726 /dbaccess/source/ui/misc/RowSetDrop.cxx
parent865eb18f0faa94b260518526d44bbac2b6ca97b9 (diff)
CONTAINER_ENTRY_NOTFOUND not needed anymore
after we make dbaccess consistently use COLUMN_POSITION_NOT_FOUND Change-Id: Ia22c17196e8d651201c04239505d28e54369a8a4 Reviewed-on: https://gerrit.libreoffice.org/46501 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui/misc/RowSetDrop.cxx')
-rw-r--r--dbaccess/source/ui/misc/RowSetDrop.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/misc/RowSetDrop.cxx b/dbaccess/source/ui/misc/RowSetDrop.cxx
index aa1858a57d1b..c1cba83d2490 100644
--- a/dbaccess/source/ui/misc/RowSetDrop.cxx
+++ b/dbaccess/source/ui/misc/RowSetDrop.cxx
@@ -69,7 +69,7 @@ void ORowSetImportExport::initialize()
m_aColumnTypes.reserve(nCount);
for (sal_Int32 i = 1;i <= nCount; ++i)
{
- sal_Int32 nPos = -1; // -1 means column is autoincrement or doesn't exist
+ sal_Int32 nPos = COLUMN_POSITION_NOT_FOUND; // means column is autoincrement or doesn't exist
if(!m_xTargetResultSetMetaData->isAutoIncrement(i))
{
try