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