diff options
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 ); } } |