summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-21 14:46:06 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-21 16:04:20 +0200
commit01782ecd9fb1e712925cdeb29694faad3c6beed7 (patch)
treee5d6050f3b327cd3db2b2a4a7651cbfaca6625e5 /xmlscript
parentbac57f75cd18472167742e804d789ffbc43fa9a9 (diff)
loplugin:referencecasting in various
Change-Id: Id4e3d9d1bbfd47181299568afec45e996eb1eed5 Reviewed-on: https://gerrit.libreoffice.org/76071 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xmldlg_imexp/xmldlg_import.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
index 50b86b5f601e..c8a96c3335b7 100644
--- a/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
+++ b/xmlscript/source/xmldlg_imexp/xmldlg_import.cxx
@@ -875,7 +875,7 @@ bool ImportContext::importGraphicOrImageProperty(
}
if (xGraphic.is())
{
- Reference<beans::XPropertySet> xProps( getControlModel(), UNO_QUERY );
+ Reference<beans::XPropertySet> xProps = getControlModel();
if (xProps.is())
{
xProps->setPropertyValue("Graphic", makeAny(xGraphic));