summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/dlg/directsql.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/dlg/directsql.cxx')
-rw-r--r--dbaccess/source/ui/dlg/directsql.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/directsql.cxx b/dbaccess/source/ui/dlg/directsql.cxx
index 9465cfa58fed..87086e556226 100644
--- a/dbaccess/source/ui/dlg/directsql.cxx
+++ b/dbaccess/source/ui/dlg/directsql.cxx
@@ -188,7 +188,7 @@ DBG_NAME(DirectSQLDialog)
{
m_aStatementHistory.pop_front();
m_aNormalizedHistory.pop_front();
- m_pSQLHistory->RemoveEntry((USHORT)0);
+ m_pSQLHistory->RemoveEntry((sal_uInt16)0);
}
}
@@ -316,7 +316,7 @@ DBG_NAME(DirectSQLDialog)
if (_bUpdateListBox)
{
// selecte the normalized statement in the list box
- m_pSQLHistory->SelectEntryPos((USHORT)_nHistoryPos);
+ m_pSQLHistory->SelectEntryPos((sal_uInt16)_nHistoryPos);
OSL_ENSURE(m_pSQLHistory->GetSelectEntry() == m_aNormalizedHistory[_nHistoryPos],
"DirectSQLDialog::switchToHistory: inconsistent listbox entries!");
}