summaryrefslogtreecommitdiff
path: root/xmloff/source/text/txtvfldi.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/txtvfldi.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/txtvfldi.cxx')
-rw-r--r--xmloff/source/text/txtvfldi.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/source/text/txtvfldi.cxx b/xmloff/source/text/txtvfldi.cxx
index c6d6ba0f6e73..058fe41ab022 100644
--- a/xmloff/source/text/txtvfldi.cxx
+++ b/xmloff/source/text/txtvfldi.cxx
@@ -826,8 +826,8 @@ bool XMLVariableDeclImportContext::FindFieldMaster(
// get text fields supplier and field masters
Reference<XTextFieldsSupplier> xTextFieldsSupp(rImport.GetModel(),
UNO_QUERY);
- Reference<container::XNameAccess> xFieldMasterNameAccess(
- xTextFieldsSupp->getTextFieldMasters(), UNO_QUERY);
+ Reference<container::XNameAccess> xFieldMasterNameAccess =
+ xTextFieldsSupp->getTextFieldMasters();
OUStringBuffer sBuffer;
sBuffer.append(sAPI_fieldmaster_prefix);