summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-01-09 19:38:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-01-09 20:21:59 +0100
commit6efffbbfce9c27439f54970f7a569b069ce46eba (patch)
treececff16ae5325875c3e6471170040c38859bff56 /toolkit
parent2ab481b038b62b1ff576ac4d49d03c1798cd7f84 (diff)
Improve loplugin:redundantcast for sal_Int... vs. ::sal_Int...
Change-Id: I1548a76fdc03afee68f1e5c01bc665e616f2edf2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/86501 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/controls/unocontrolmodel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/source/controls/unocontrolmodel.cxx b/toolkit/source/controls/unocontrolmodel.cxx
index 4da894bfc299..aa4d55237de0 100644
--- a/toolkit/source/controls/unocontrolmodel.cxx
+++ b/toolkit/source/controls/unocontrolmodel.cxx
@@ -892,7 +892,7 @@ void UnoControlModel::read( const css::uno::Reference< css::io::XObjectInputStre
long nEntries = InStream->readLong();
css::uno::Sequence<sal_Int16> aSeq( nEntries );
for ( long n = 0; n < nEntries; n++ )
- aSeq.getArray()[n] = static_cast<sal_Int16>(InStream->readShort());
+ aSeq.getArray()[n] = InStream->readShort();
aValue <<= aSeq;
}
else if ( pType->getTypeClass() == TypeClass_ENUM )