diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-20 18:26:07 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-21 08:49:56 +0200 |
commit | 7272951c121735a7350fa70840b255b7ef831f1a (patch) | |
tree | 52033c5b70c6c2c24ec5c507b7d38eca257356a5 /unotools/source/misc/mediadescriptor.cxx | |
parent | d943b42214321c630147176210733399c57e6f19 (diff) |
loplugin:referencecasting in unotools..uui
Change-Id: Ia2c991591e65deb00710ab7a5b73bc42ae6b1b46
Reviewed-on: https://gerrit.libreoffice.org/76031
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'unotools/source/misc/mediadescriptor.cxx')
-rw-r--r-- | unotools/source/misc/mediadescriptor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/misc/mediadescriptor.cxx b/unotools/source/misc/mediadescriptor.cxx index 98f27fc5bc37..18df713e52d2 100644 --- a/unotools/source/misc/mediadescriptor.cxx +++ b/unotools/source/misc/mediadescriptor.cxx @@ -365,7 +365,7 @@ bool MediaDescriptor::isStreamReadOnly() const css::uno::Reference< css::ucb::XContent > xContent = getUnpackedValueOrDefault(MediaDescriptor::PROP_UCBCONTENT(), css::uno::Reference< css::ucb::XContent >()); if (xContent.is()) { - css::uno::Reference< css::ucb::XContentIdentifier > xId(xContent->getIdentifier(), css::uno::UNO_QUERY); + css::uno::Reference< css::ucb::XContentIdentifier > xId = xContent->getIdentifier(); OUString aScheme; if (xId.is()) aScheme = xId->getContentProviderScheme(); |