diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-14 18:22:21 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-14 18:23:02 +0100 |
commit | b481928a2104bb659021bd0795c73fcf64129c99 (patch) | |
tree | ec2a790c7dd2bf09ee4faf235c2a225f4b1c8720 /vcl/source/edit/textview.cxx | |
parent | 4e1448d43e08d3f0a6ff67e75346e9559ad2af09 (diff) |
Clean up uses of integer types in vcl/texteng
Change-Id: Ic70f57784e69cd82910d834c43a65bce4c00caea
Diffstat (limited to 'vcl/source/edit/textview.cxx')
-rw-r--r-- | vcl/source/edit/textview.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/source/edit/textview.cxx b/vcl/source/edit/textview.cxx index af3406139de9..bbb842ed9d04 100644 --- a/vcl/source/edit/textview.cxx +++ b/vcl/source/edit/textview.cxx @@ -59,6 +59,8 @@ #include <osl/mutex.hxx> #include <algorithm> +#include <cstddef> + #include <o3tl/make_unique.hxx> class TETextDataObject : public css::datatransfer::XTransferable, @@ -1627,7 +1629,7 @@ void TextView::ImpShowCursor( bool bGotoCursor, bool bForceVisCursor, bool bSpec TEParaPortion* pParaPortion = mpImpl->mpTextEngine->mpTEParaPortions->GetObject( aPaM.GetPara() ); sal_Int32 nTextPortionStart = 0; - sal_uInt16 nTextPortion = pParaPortion->GetTextPortions().FindPortion( aPaM.GetIndex(), nTextPortionStart, true ); + std::size_t nTextPortion = pParaPortion->GetTextPortions().FindPortion( aPaM.GetIndex(), nTextPortionStart, true ); TETextPortion* pTextPortion = pParaPortion->GetTextPortions()[ nTextPortion ]; if ( pTextPortion->GetKind() == PORTIONKIND_TAB ) { |