diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-20 18:27:27 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-21 08:51:00 +0200 |
commit | 3284309f19bc76f1778988c5314a795a95620e71 (patch) | |
tree | f8c4cee5861bccdfc4b86bc080bf988d3fe78c9f /xmloff/source/forms | |
parent | f9b5657c4cff29f4a0cd65d2789e091f1297a152 (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/forms')
-rw-r--r-- | xmloff/source/forms/elementexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx index a2e61bdc7c6a..c79cb806cc12 100644 --- a/xmloff/source/forms/elementexport.cxx +++ b/xmloff/source/forms/elementexport.cxx @@ -1817,7 +1817,7 @@ namespace xmloff Reference< XListEntrySink > xSink( m_xProps, UNO_QUERY ); Reference< XListEntrySource > xSource; if ( xSink.is() ) - xSource.set(xSink->getListEntrySource(), css::uno::UNO_QUERY); + xSource = xSink->getListEntrySource(); OSL_ENSURE( xSource.is(), "OControlExport::exportCellListSourceRange: list source or sink!" ); if ( xSource.is() ) { |