diff options
Diffstat (limited to 'svl/source/fsstor/fsfactory.cxx')
-rw-r--r-- | svl/source/fsstor/fsfactory.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/fsstor/fsfactory.cxx b/svl/source/fsstor/fsfactory.cxx index 9acc68745ddc..dc762a73ace0 100644 --- a/svl/source/fsstor/fsfactory.cxx +++ b/svl/source/fsstor/fsfactory.cxx @@ -132,8 +132,8 @@ uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstanceWithA // allow to use other ucp's // if ( !isLocalNotFile_Impl( aURL ) ) - if ( aURL.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("vnd.sun.star.pkg")) - || aURL.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("vnd.sun.star.zip")) + if ( aURL.equalsIgnoreAsciiCase("vnd.sun.star.pkg") + || aURL.equalsIgnoreAsciiCase("vnd.sun.star.zip") || ::utl::UCBContentHelper::IsDocument( aURL ) ) { throw lang::IllegalArgumentException( |