diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-06-03 21:14:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-06-05 21:18:13 +0200 |
commit | 7392e1326d4d2512576aa61c677068a560620bb8 (patch) | |
tree | 10b71822984afbad1673cc90fd43815b44f6c4d9 /cppuhelper/source/interfacecontainer.cxx | |
parent | 46baf01c24a936e1c5f9a30d622c88247f28a9ea (diff) |
Improved loplugin:cstylecast to reference types: cppuhelper
Change-Id: Id442b7a76072fb346d927a7dd8659a05bb491f9b
Diffstat (limited to 'cppuhelper/source/interfacecontainer.cxx')
-rw-r--r-- | cppuhelper/source/interfacecontainer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/interfacecontainer.cxx b/cppuhelper/source/interfacecontainer.cxx index 2eb7197bf9e6..75ae965bf813 100644 --- a/cppuhelper/source/interfacecontainer.cxx +++ b/cppuhelper/source/interfacecontainer.cxx @@ -45,7 +45,7 @@ static void sequenceRemoveElementAt( Sequence< Reference< XInterface > > & rSeq, Sequence< Reference< XInterface > > aDestSeq( rSeq.getLength() - 1 ); // getArray on a const sequence is faster - const Reference< XInterface > * pSource = ((const Sequence< Reference< XInterface > > &)rSeq).getConstArray(); + const Reference< XInterface > * pSource = rSeq.getConstArray(); Reference< XInterface > * pDest = aDestSeq.getArray(); sal_Int32 i = 0; for( ; i < index; i++ ) |