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 7eda0e251ea4..9fa709ab4246 100644 --- a/svl/source/misc/sharecontrolfile.cxx +++ b/svl/source/misc/sharecontrolfile.cxx @@ -92,7 +92,7 @@ void ShareControlFile::OpenStream() ::ucbhelper::Content aContent = ::ucbhelper::Content( m_aURL, xDummyEnv ); uno::Reference< ucb::XContentIdentifier > xContId( aContent.get().is() ? aContent.get()->getIdentifier() : 0 ); - if ( !xContId.is() || !xContId->getContentProviderScheme().equals( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "file" ) ) ) ) + if ( !xContId.is() || xContId->getContentProviderScheme() != "file" ) throw io::IOException(); // the implementation supports only local files for now uno::Reference< io::XStream > xStream; |