diff options
Diffstat (limited to 'package')
-rw-r--r-- | package/source/xstor/xfactory.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/source/xstor/xfactory.cxx b/package/source/xstor/xfactory.cxx index 2aed9f796a13..db339ae1f315 100644 --- a/package/source/xstor/xfactory.cxx +++ b/package/source/xstor/xfactory.cxx @@ -139,7 +139,7 @@ uno::Reference< uno::XInterface > SAL_CALL OStorageFactory::createInstanceWithAr throw lang::IllegalArgumentException(); // TODO: } - if ( aURL.equalsIgnoreAsciiCase("vnd.sun.star.pkg") ) + if ( aURL.startsWithIgnoreAsciiCase("vnd.sun.star.pkg:") ) { OSL_FAIL( "Packages URL's are not valid for storages!\n" ); // ??? throw lang::IllegalArgumentException(); // TODO: |