summaryrefslogtreecommitdiff
path: root/extensions/source/abpilot/datasourcehandling.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 15:31:54 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 18:29:48 +0200
commit8c26800ff823525df46d2bdc42af52ab75285cda (patch)
tree988c4a27d3c7006181627f1a7b46f8510fb78d09 /extensions/source/abpilot/datasourcehandling.cxx
parent6595240f39c34fa9ae5cd1bb319f6287206e4b92 (diff)
loplugin:referencecasting in extensions
Change-Id: Ib03be019b2fedc67b3114c107162722eabce0218 Reviewed-on: https://gerrit.libreoffice.org/75955 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions/source/abpilot/datasourcehandling.cxx')
-rw-r--r--extensions/source/abpilot/datasourcehandling.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx
index 8371d97b61b0..fdcf218f4826 100644
--- a/extensions/source/abpilot/datasourcehandling.cxx
+++ b/extensions/source/abpilot/datasourcehandling.cxx
@@ -521,9 +521,7 @@ namespace abp
Reference< XInteractionHandler > xInteractions;
try
{
- xInteractions.set(
- InteractionHandler::createWithParent(m_pImpl->xORB, nullptr),
- UNO_QUERY);
+ xInteractions = InteractionHandler::createWithParent(m_pImpl->xORB, nullptr);
}
catch(const Exception&)
{