diff options
author | Yusuf Keten <ketenyusuf@gmail.com> | 2020-01-07 00:05:15 +0300 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-01-08 16:24:12 +0100 |
commit | d66ddcffe61d90cb1472e74a040963086032bf9c (patch) | |
tree | 2ec835db3c2d6119dc415d0ec4e4e9b6a09e8c5d /sfx2/source/view/viewfrm.cxx | |
parent | 4506e77ff9791ef9ca42d5395300acd50f429528 (diff) |
tdf#75280 Convert inappropriate use of sal_uIntPtr to better integer types
Change-Id: Idf73b768671c0daa0d815b75ce71740fc0e5f5c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86310
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'sfx2/source/view/viewfrm.cxx')
-rw-r--r-- | sfx2/source/view/viewfrm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx index e7f0bbd1c3a4..94964af0ca92 100644 --- a/sfx2/source/view/viewfrm.cxx +++ b/sfx2/source/view/viewfrm.cxx @@ -2694,8 +2694,8 @@ void SfxViewFrame::AddDispatchMacroToBasic_Impl( const OUString& sMacro ) aOUSource = pModule->GetSource32(); sal_uInt16 nStart, nEnd; pMethod->GetLineRange( nStart, nEnd ); - sal_uIntPtr nlStart = nStart; - sal_uIntPtr nlEnd = nEnd; + sal_uInt16 nlStart = nStart; + sal_uInt16 nlEnd = nEnd; CutLines( aOUSource, nlStart-1, nlEnd-nlStart+1 ); } } |