diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-06-29 15:50:32 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-06-29 21:57:21 +0200 |
commit | 92fa68ff3a16917265fe218ff7b2ac7ddb0c39df (patch) | |
tree | 38e69e2fed40561f14aec9dbb52019f3bae28c7a /basctl | |
parent | 671538c601f6171fd27432528620a6ff1f5d2d4d (diff) |
Improved loplugin:redundantcast (const-qualified typedefs): basctl
Change-Id: Ib17804ca6ddbacdadb50f97c19636e245e7eabe1
Reviewed-on: https://gerrit.libreoffice.org/56692
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index 5ac20f04c0a6..1e8d8a771cf6 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -540,9 +540,9 @@ void ModulWindow::UpdateBreakPoint( const BreakPoint& rBrk ) CheckCompileBasic(); if ( rBrk.bEnabled ) - m_xModule->SetBP( static_cast<sal_uInt16>(rBrk.nLine) ); + m_xModule->SetBP( rBrk.nLine ); else - m_xModule->ClearBP( static_cast<sal_uInt16>(rBrk.nLine) ); + m_xModule->ClearBP( rBrk.nLine ); } } |