summaryrefslogtreecommitdiff
path: root/oox/source/ppt/presentationfragmenthandler.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-19 20:08:45 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-20 07:56:19 +0200
commit84abf28e05fc55be867028f3d3a59220ca2669f0 (patch)
treeebf1c6c90f89b4aa9a5a6b516ec89121026bfe03 /oox/source/ppt/presentationfragmenthandler.cxx
parentdefdd8bebe40b48d8abc4d893ac9a82b550c5d19 (diff)
loplugin:referencecasting in oox..pyuno
Change-Id: Ie920c154aef3074016704c632b15d99110b219aa Reviewed-on: https://gerrit.libreoffice.org/75974 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox/source/ppt/presentationfragmenthandler.cxx')
-rw-r--r--oox/source/ppt/presentationfragmenthandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/ppt/presentationfragmenthandler.cxx b/oox/source/ppt/presentationfragmenthandler.cxx
index 5fc2e802f82b..cf0bdfed9659 100644
--- a/oox/source/ppt/presentationfragmenthandler.cxx
+++ b/oox/source/ppt/presentationfragmenthandler.cxx
@@ -147,7 +147,7 @@ static void ResolveTextFields( XmlFilterBase const & rFilter )
aURL = "#" + xNamed->getName();
xPropSet->setPropertyValue( sURL, Any( aURL ) );
Reference< text::XTextContent > xContent( rTextField.xTextField, UNO_QUERY);
- Reference< text::XTextRange > xTextRange( rTextField.xTextCursor, UNO_QUERY );
+ Reference< text::XTextRange > xTextRange = rTextField.xTextCursor;
rTextField.xText->insertTextContent( xTextRange, xContent, true );
}
catch( uno::Exception& )