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 d964da262c30..99692ffc2961 100644
--- a/dbaccess/source/ui/dlg/directsql.cxx
+++ b/dbaccess/source/ui/dlg/directsql.cxx
@@ -171,7 +171,7 @@ DBG_NAME(DirectSQLDialog)
{
m_aStatementHistory.pop_front();
m_aNormalizedHistory.pop_front();
- m_pSQLHistory->RemoveEntry((USHORT)0);
+ m_pSQLHistory->RemoveEntry((sal_uInt16)0);
}
}
@@ -299,7 +299,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!");
}