summaryrefslogtreecommitdiff
path: root/ucb/source/sorter/sortdynres.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-10-29 10:17:03 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-10-29 14:03:27 +0100
commit9bf85adc3e6474ebe36b3a06b985a481e75f3567 (patch)
treebeaa4202f74646880ee62c636aa1fa30f818a662 /ucb/source/sorter/sortdynres.cxx
parentc75647f5adfb05af20eaec06b59ce1880ec3384e (diff)
Fix some confusion between UNOIDL long (i.e., sal_Int32) and C++ long
...dating back to before d3329bacd8a925ec070ad06ea3d9a6a026a3696b "Moved here from module 'chaos'", in the meantime hit by 4fbd63860500b2db76df4d5aedbe5e3aa31fac69 "switching long to a 64-bit type on 64-bit windows" Change-Id: I378379abf520ce914f1ba2789d788ab726038c50 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104992 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'ucb/source/sorter/sortdynres.cxx')
-rw-r--r--ucb/source/sorter/sortdynres.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/sorter/sortdynres.cxx b/ucb/source/sorter/sortdynres.cxx
index 671c61cc9501..c848e306a45d 100644
--- a/ucb/source/sorter/sortdynres.cxx
+++ b/ucb/source/sorter/sortdynres.cxx
@@ -336,7 +336,7 @@ void SortedDynamicResultSet::impl_notify( const ListEvent& Changes )
}
case ListActionType::MOVED:
{
- tools::Long nOffset = 0;
+ sal_Int32 nOffset = 0;
if ( aAction.ActionInfo >>= nOffset )
{
pCurSet->Move( aAction.Position,