diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-20 13:29:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-21 08:49:01 +0200 |
commit | 17db60eb46b31b6e4b7e664b01e6f7bb6a3016ab (patch) | |
tree | a2f64eca956aa2daf0e74de31bc2d419f769f2c0 /stoc | |
parent | 8a3912c8eb25d1acacbc0a18355f2ca75d418908 (diff) |
loplugin:referencecasting in slideshow..svtools
Change-Id: Id0f0332d5d66c0bce309643bf42059b9bdc7d448
Reviewed-on: https://gerrit.libreoffice.org/75997
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/inspect/introspection.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx index 2637c7ede5dc..79df9d25a542 100644 --- a/stoc/source/inspect/introspection.cxx +++ b/stoc/source/inspect/introspection.cxx @@ -813,13 +813,13 @@ void ImplIntrospectionAccess::cacheXNameContainer() if (mpStaticImpl->mbNameContainer) { xNameContainer.set( mxIface, UNO_QUERY ); - xNameReplace.set( xNameContainer, UNO_QUERY ); - xNameAccess.set( xNameContainer, UNO_QUERY ); + xNameReplace = xNameContainer; + xNameAccess = xNameContainer; } else if (mpStaticImpl->mbNameReplace) { xNameReplace.set( mxIface, UNO_QUERY ); - xNameAccess.set( xNameReplace, UNO_QUERY ); + xNameAccess = xNameReplace; } else if (mpStaticImpl->mbNameAccess) { @@ -881,13 +881,13 @@ void ImplIntrospectionAccess::cacheXIndexContainer() if (mpStaticImpl->mbIndexContainer) { xIndexContainer.set( mxIface, UNO_QUERY ); - xIndexReplace.set( xIndexContainer, UNO_QUERY ); - xIndexAccess.set( xIndexContainer, UNO_QUERY ); + xIndexReplace = xIndexContainer; + xIndexAccess = xIndexContainer; } else if (mpStaticImpl->mbIndexReplace) { xIndexReplace.set( mxIface, UNO_QUERY ); - xIndexAccess.set( xIndexReplace, UNO_QUERY ); + xIndexAccess = xIndexReplace; } else if (mpStaticImpl->mbIndexAccess) { |