summaryrefslogtreecommitdiff
path: root/xmloff/source/text/XMLTextShapeImportHelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 18:27:27 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-21 08:51:00 +0200
commit3284309f19bc76f1778988c5314a795a95620e71 (patch)
treef8c4cee5861bccdfc4b86bc080bf988d3fe78c9f /xmloff/source/text/XMLTextShapeImportHelper.cxx
parentf9b5657c4cff29f4a0cd65d2789e091f1297a152 (diff)
loplugin:referencecasting in xmloff
Change-Id: Iac3d56511aacec73bc38f57890c44145a4c13b85 Reviewed-on: https://gerrit.libreoffice.org/76034 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/source/text/XMLTextShapeImportHelper.cxx')
-rw-r--r--xmloff/source/text/XMLTextShapeImportHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/text/XMLTextShapeImportHelper.cxx b/xmloff/source/text/XMLTextShapeImportHelper.cxx
index f724fb8faf96..cbac12006d95 100644
--- a/xmloff/source/text/XMLTextShapeImportHelper.cxx
+++ b/xmloff/source/text/XMLTextShapeImportHelper.cxx
@@ -53,7 +53,7 @@ XMLTextShapeImportHelper::XMLTextShapeImportHelper(
Reference < XDrawPageSupplier > xDPS( rImp.GetModel(), UNO_QUERY );
if( xDPS.is() )
{
- Reference < XShapes > xShapes( xDPS->getDrawPage(), UNO_QUERY );
+ Reference < XShapes > xShapes = xDPS->getDrawPage();
pushGroupForSorting( xShapes );
}