summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-04 10:04:04 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-04 12:08:43 +0000
commitf8cff53299f31c124468cf575bd08bfbf28bc578 (patch)
tree04f9a316dbc3dbb99a3c5fcb8fd1dbf7fef18260 /basic
parent3afca328510a9ddaf67ca578af0cbce25fa44aec (diff)
loplugin:redundantcast (clang-cl)
Change-Id: Ie096d75c1bc774e77c589845f61276d1478234ef Reviewed-on: https://gerrit.libreoffice.org/36065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxdec.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/sbx/sbxdec.cxx b/basic/source/sbx/sbxdec.cxx
index 70b44cb5488b..59008e796923 100644
--- a/basic/source/sbx/sbxdec.cxx
+++ b/basic/source/sbx/sbxdec.cxx
@@ -147,7 +147,7 @@ void SbxDecimal::setChar( sal_Unicode val )
void SbxDecimal::setByte( sal_uInt8 val )
{
- VarDecFromUI1( (sal_uInt8)val, &maDec );
+ VarDecFromUI1( val, &maDec );
}
void SbxDecimal::setShort( sal_Int16 val )
@@ -162,7 +162,7 @@ void SbxDecimal::setLong( sal_Int32 val )
void SbxDecimal::setUShort( sal_uInt16 val )
{
- VarDecFromUI2( (sal_uInt16)val, &maDec );
+ VarDecFromUI2( val, &maDec );
}
void SbxDecimal::setULong( sal_uInt32 val )