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 /filter | |
parent | 0ebee1ef39a77c4394e7d0ec9346daf002e52884 (diff) |
Use RTL_CONSTASCII_STRINGPARAM instead of bare number
Diffstat (limited to 'filter')
-rw-r--r-- | filter/source/config/cache/typedetection.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/config/cache/typedetection.cxx b/filter/source/config/cache/typedetection.cxx index 0a06025aef6e..af907bcb0900 100644 --- a/filter/source/config/cache/typedetection.cxx +++ b/filter/source/config/cache/typedetection.cxx @@ -454,7 +454,7 @@ sal_Bool TypeDetection::impl_getPreselectionForType(const ::rtl::OUString& sPreS { // We cant check a preselected type for a given stream! // So we must believe, that it can work ... - if (aParsedURL.Complete.equalsAsciiL("private:stream", 14)) + if (aParsedURL.Complete.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("private:stream"))) bBreakDetection = sal_True; } @@ -1092,7 +1092,7 @@ void TypeDetection::impl_seekStreamToZero(comphelper::MediaDescriptor& rDescript if ( (sURL.isEmpty() ) || // "non existing file" ? (!xStream.is() ) || // non existing file ! - (sURL.equalsIgnoreAsciiCaseAsciiL("private:stream", 14)) // not a good idea .-) + (sURL.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("private:stream"))) // not a good idea .-) ) return ::rtl::OUString(); |