summaryrefslogtreecommitdiff
path: root/accessibility/inc/helper/listboxhelper.hxx
diff options
context:
space:
mode:
authorNoel <noelgrandin@gmail.com>2020-10-21 09:28:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-10-21 14:34:01 +0200
commit915c7529e9b041879e8c63f15306028a6f649f48 (patch)
tree3072539a7649359d9ddbf1496ef7e4ee7c8ff0d2 /accessibility/inc/helper/listboxhelper.hxx
parent5e43e888f6b9bc32fc5d3361be5a7962796726ea (diff)
use tools::Long in accessibility..basctl
Change-Id: I67087c7a281e5bdecbaf227bd3147e7c12828791 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104587 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/inc/helper/listboxhelper.hxx')
-rw-r--r--accessibility/inc/helper/listboxhelper.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/accessibility/inc/helper/listboxhelper.hxx b/accessibility/inc/helper/listboxhelper.hxx
index 919cbbdce5b3..b5e09034d01c 100644
--- a/accessibility/inc/helper/listboxhelper.hxx
+++ b/accessibility/inc/helper/listboxhelper.hxx
@@ -163,13 +163,13 @@ public:
Pair aEntryCharacterRange = m_aComboListBox.GetLineStartEnd( _nEntryPos );
if ( aEntryCharacterRange.A() + _nCharacterIndex <= aEntryCharacterRange.B() )
{
- long nIndex = aEntryCharacterRange.A() + _nCharacterIndex;
+ tools::Long nIndex = aEntryCharacterRange.A() + _nCharacterIndex;
aRect = m_aComboListBox.GetCharacterBounds( nIndex );
}
return aRect;
}
- long GetIndexForPoint( const Point& rPoint, sal_Int32& nPos ) const override
+ tools::Long GetIndexForPoint( const Point& rPoint, sal_Int32& nPos ) const override
{
return m_aComboListBox.GetIndexForPoint( rPoint, nPos );
}