diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-16 00:21:01 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2012-02-16 00:21:53 +0900 |
commit | c91ff959b0527852fde12a5f994b30121ff3c817 (patch) | |
tree | 3a25dfa84b08ee58d083934e357e912df8a0687b /svl | |
parent | remove hideous plasma debugging bits from android branch (diff) | |
download | core-c91ff959b0527852fde12a5f994b30121ff3c817.tar.gz core-c91ff959b0527852fde12a5f994b30121ff3c817.zip |
Use RTL_CONSTASCII_STRINGPARAM instead of bare number
Diffstat (limited to 'svl')
-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 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" ); // ??? |