basctl/source/basicide/baside2.cxx | 6 +++--- basctl/source/basicide/baside2.hxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
New commits: commit 3e0c5113a298d3ded705706193f8b6b909027b2f Author: Bugra <bugrakur...@gmail.com> AuthorDate: Sat Feb 29 15:40:32 2020 +0300 Commit: Michael Stahl <michael.st...@cib.de> CommitDate: Wed Mar 4 11:21:28 2020 +0100 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.st...@cib.de> 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; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits