diff options
author | Bugra <bugrakurt26@gmail.com> | 2020-02-29 15:40:32 +0300 |
---|---|---|
committer | Michael Stahl <michael.stahl@cib.de> | 2020-03-04 11:21:28 +0100 |
commit | 3e0c5113a298d3ded705706193f8b6b909027b2f (patch) | |
tree | 811fd85d43fdb94b480f23c03488d163b68277ba /basctl | |
parent | 4769f431d93139eb3c470e5bb4e7c3c33d46a41f (diff) |
tdf#114441: Convert use of sal_uLong to better integer types
Change-Id: I484cc39ebde5bfefa8ea26f3e6351ef12e303f1a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89755
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2.cxx | 6 | ||||
-rw-r--r-- | basctl/source/basicide/baside2.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index 57351c678409..f9e8b2674eba 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -505,7 +505,7 @@ void ModulWindow::ImportDialog() implImportDialog(GetFrameWeld(), m_sCurPath, rDocument, aLibName); } -void ModulWindow::ToggleBreakPoint( sal_uLong nLine ) +void ModulWindow::ToggleBreakPoint( sal_uInt16 nLine ) { DBG_ASSERT( XModule().is(), "No Module!" ); @@ -520,12 +520,12 @@ void ModulWindow::ToggleBreakPoint( sal_uLong nLine ) BreakPoint* pBrk = GetBreakPoints().FindBreakPoint( nLine ); if ( pBrk ) // remove { - m_xModule->ClearBP( static_cast<sal_uInt16>(nLine) ); + m_xModule->ClearBP( nLine ); GetBreakPoints().remove( pBrk ); } else // create one { - if ( m_xModule->SetBP( static_cast<sal_uInt16>(nLine)) ) + if ( m_xModule->SetBP( nLine )) { GetBreakPoints().InsertSorted( BreakPoint( nLine ) ); if ( StarBASIC::IsRunning() ) diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx index 0a476a7f9ad5..342397cd66a2 100644 --- a/basctl/source/basicide/baside2.hxx +++ b/basctl/source/basicide/baside2.hxx @@ -341,7 +341,7 @@ public: void EditMacro( const OUString& rMacroName ); - void ToggleBreakPoint( sal_uLong nLine ); + void ToggleBreakPoint( sal_uInt16 nLine ); BasicStatus& GetBasicStatus() { return m_aStatus; } |