[Libreoffice-commits] core.git: basctl/source
Stephan Bergmann
sbergman at redhat.com
Fri Jun 29 19:57:53 UTC 2018
basctl/source/basicide/baside2.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 92fa68ff3a16917265fe218ff7b2ac7ddb0c39df
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Fri Jun 29 15:50:32 2018 +0200
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 at redhat.com>
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 );
}
}
More information about the Libreoffice-commits
mailing list