summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-05-08 14:33:47 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-05-08 18:32:33 +0200
commit11bdb6b9d9df991bb4ee48d4682458facaa2bdd5 (patch)
tree29180dbac55048e038c404769d059780f39f21a3 /dbaccess/source/ui
parentc69e5e3cc08bfbb4a5f6c756c523e4016c8fd1dd (diff)
improve loplugin:referencecasting
to catch a few more cases Change-Id: I0323fba51bb2b4ba255e1db5aa0d890c5c6a2e1b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93726 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/ui')
-rw-r--r--dbaccess/source/ui/app/AppControllerGen.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/app/AppControllerGen.cxx b/dbaccess/source/ui/app/AppControllerGen.cxx
index 8eb52b89db76..2466f22df062 100644
--- a/dbaccess/source/ui/app/AppControllerGen.cxx
+++ b/dbaccess/source/ui/app/AppControllerGen.cxx
@@ -701,7 +701,7 @@ void OApplicationController::doAction(sal_uInt16 _nId, const ElementOpenMode _eO
{
try
{
- Reference< XModel > xModel(component.second,UNO_QUERY);
+ Reference< XModel > xModel = component.second;
// Send document as e-Mail using stored/default type
eResult = aSendMail.AttachDocument(xModel,component.first);