diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 14:54:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 21:14:15 +0200 |
commit | da95fc2983e9deea30b9b7148a6e10b5423ed3e1 (patch) | |
tree | d2ff974f976db4ce90ffbe49d938c2f1401a780c /embeddedobj | |
parent | e7f9da36198bb53aec2ed0c492cb723bec98f29b (diff) |
loplugin:sequentialassign in embeddedobj..l10ntools
Change-Id: I69377e2f96a376a7a5ccaec268c4f92c00a250f7
Reviewed-on: https://gerrit.libreoffice.org/70705
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/commonembedding/specialobject.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/embeddedobj/source/commonembedding/specialobject.cxx b/embeddedobj/source/commonembedding/specialobject.cxx index 7b4a27ead172..a1e55d87debe 100644 --- a/embeddedobj/source/commonembedding/specialobject.cxx +++ b/embeddedobj/source/commonembedding/specialobject.cxx @@ -54,9 +54,7 @@ OSpecialEmbeddedObject::OSpecialEmbeddedObject( const uno::Reference< uno::XComp uno::Any SAL_CALL OSpecialEmbeddedObject::queryInterface( const uno::Type& rType ) { - uno::Any aReturn; - - aReturn = ::cppu::queryInterface( rType, + uno::Any aReturn = ::cppu::queryInterface( rType, static_cast< embed::XEmbeddedObject* >( this ), static_cast< embed::XInplaceObject* >( this ), static_cast< embed::XVisualObject* >( this ), |