summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2015-09-08 01:39:37 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2015-09-12 14:18:52 +0200
commit3107b237629cef53619daba32aa110eb229b56cf (patch)
tree2dced42480f79677ade2aed6e75de19dfca90564 /extensions
parentSimplify TakeThread::execute() (diff)
downloadcore-3107b237629cef53619daba32aa110eb229b56cf.tar.gz
core-3107b237629cef53619daba32aa110eb229b56cf.zip
sal_uInt16 and SAL_MAX_UINT16 to sal_Int32 and LISTBOX_APPEND
Change-Id: Id68a8369d0ca907d4afc0d8a22d31d1e4c24133c
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/dbpilots/gridwizard.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/dbpilots/gridwizard.cxx b/extensions/source/dbpilots/gridwizard.cxx
index 98e9f8358012..b477bc0de38b 100644
--- a/extensions/source/dbpilots/gridwizard.cxx
+++ b/extensions/source/dbpilots/gridwizard.cxx
@@ -421,7 +421,7 @@ namespace dbp
// the (original) relative position of the entry
sal_IntPtr nRelativeIndex = reinterpret_cast<sal_IntPtr>(bMoveRight ? m_pExistFields->GetEntryData(nSelected) : m_pSelFields->GetEntryData(nSelected));
- sal_uInt16 nInsertPos = SAL_MAX_UINT16;
+ sal_Int32 nInsertPos = LISTBOX_APPEND;
if (!bMoveRight)
{ // need to determine an insert pos which reflects the original
nInsertPos = 0;