summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-16 00:21:01 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-16 00:21:53 +0900
commitc91ff959b0527852fde12a5f994b30121ff3c817 (patch)
tree3a25dfa84b08ee58d083934e357e912df8a0687b /package
parent0ebee1ef39a77c4394e7d0ec9346daf002e52884 (diff)
Use RTL_CONSTASCII_STRINGPARAM instead of bare number
Diffstat (limited to 'package')
-rw-r--r--package/source/xstor/xfactory.cxx2
1 files changed, 1 insertions, 1 deletions
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: