diff options
Diffstat (limited to 'svl/source/misc/sharecontrolfile.cxx')
-rw-r--r-- | svl/source/misc/sharecontrolfile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/misc/sharecontrolfile.cxx b/svl/source/misc/sharecontrolfile.cxx index 94805932741c..cda98d014759 100644 --- a/svl/source/misc/sharecontrolfile.cxx +++ b/svl/source/misc/sharecontrolfile.cxx @@ -50,7 +50,7 @@ ShareControlFile::ShareControlFile( const OUString& aOrigURL ) if ( !m_xStream.is() && !GetURL().isEmpty() ) { uno::Reference< ucb::XCommandEnvironment > xDummyEnv; - ::ucbhelper::Content aContent = ::ucbhelper::Content( GetURL(), xDummyEnv, comphelper::getProcessComponentContext() ); + ::ucbhelper::Content aContent( GetURL(), xDummyEnv, comphelper::getProcessComponentContext() ); uno::Reference< ucb::XContentIdentifier > xContId( aContent.get().is() ? aContent.get()->getIdentifier() : nullptr ); if ( !xContId.is() || xContId->getContentProviderScheme() != "file" ) |