From c91ff959b0527852fde12a5f994b30121ff3c817 Mon Sep 17 00:00:00 2001 From: Takeshi Abe Date: Thu, 16 Feb 2012 00:21:01 +0900 Subject: Use RTL_CONSTASCII_STRINGPARAM instead of bare number --- package/source/xstor/xfactory.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/source') diff --git a/package/source/xstor/xfactory.cxx b/package/source/xstor/xfactory.cxx index 3602ab0ec925..7037e61fb3f0 100644 --- a/package/source/xstor/xfactory.cxx +++ b/package/source/xstor/xfactory.cxx @@ -156,7 +156,7 @@ uno::Reference< uno::XInterface > SAL_CALL OStorageFactory::createInstanceWithAr throw lang::IllegalArgumentException(); // TODO: } - if ( aURL.equalsIgnoreAsciiCaseAsciiL( "vnd.sun.star.pkg", 16 ) ) + if ( aURL.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("vnd.sun.star.pkg")) ) { OSL_FAIL( "Packages URL's are not valid for storages!\n" ); // ??? throw lang::IllegalArgumentException(); // TODO: -- cgit