summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2015-05-19 20:49:17 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-06-04 06:33:47 +0000
commita9a2375a744368415a7ea4c563c8e4776a6ec059 (patch)
tree849498a6defcc8c1e2fae1d875a5fe2cafc8e50f /sw/source/ui/dbui
parent68577e5a902db11b5ec000e878cf212007452c72 (diff)
convert SW_DB_SELECT constants to scoped enum
Change-Id: I03387e8e90891b3477c9c15200acc127262170bc Reviewed-on: https://gerrit.libreoffice.org/16070 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/ui/dbui')
-rw-r--r--sw/source/ui/dbui/addresslistdialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/dbui/addresslistdialog.cxx b/sw/source/ui/dbui/addresslistdialog.cxx
index cda553ad2945..4bf8261ee5ae 100644
--- a/sw/source/ui/dbui/addresslistdialog.cxx
+++ b/sw/source/ui/dbui/addresslistdialog.cxx
@@ -616,7 +616,7 @@ void SwAddressListDialog::DetectTablesAndQueries(
pUserData->xColumnsSupplier = SwDBManager::GetColumnSupplier(pUserData->xConnection,
m_aDBData.sCommand,
m_aDBData.nCommandType == CommandType::TABLE ?
- SW_DB_SELECT_TABLE : SW_DB_SELECT_QUERY );
+ SwDBSelect::TABLE : SwDBSelect::QUERY );
//#i97577#
if( pUserData->xColumnsSupplier.is() )
m_pListLB->SetEntryText(m_aDBData.sCommand, pSelect, ITEMID_TABLE - 1);