summaryrefslogtreecommitdiff
path: root/svl
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 /svl
parent0ebee1ef39a77c4394e7d0ec9346daf002e52884 (diff)
Use RTL_CONSTASCII_STRINGPARAM instead of bare number
Diffstat (limited to 'svl')
-rw-r--r--svl/source/fsstor/fsfactory.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/fsstor/fsfactory.cxx b/svl/source/fsstor/fsfactory.cxx
index 8e21da666b4f..ae9427d4a663 100644
--- a/svl/source/fsstor/fsfactory.cxx
+++ b/svl/source/fsstor/fsfactory.cxx
@@ -143,8 +143,8 @@ uno::Reference< uno::XInterface > SAL_CALL FSStorageFactory::createInstanceWithA
// allow to use other ucp's
// if ( !isLocalNotFile_Impl( aURL ) )
- if ( aURL.equalsIgnoreAsciiCaseAsciiL( "vnd.sun.star.pkg", 16 )
- || aURL.equalsIgnoreAsciiCaseAsciiL( "vnd.sun.star.zip", 16 )
+ if ( aURL.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("vnd.sun.star.pkg"))
+ || aURL.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("vnd.sun.star.zip"))
|| ::utl::UCBContentHelper::IsDocument( aURL ) )
{
OSL_FAIL( "File system storages can be based only on file URLs!\n" ); // ???