diff options
author | August Sodora <augsod@gmail.com> | 2011-10-18 14:50:21 -0400 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-10-21 10:08:57 +0100 |
commit | 034350a5097c2138311999b87da5621fe0d9d96e (patch) | |
tree | a1e3f29098a7057dbb25b1081ef2618df5a11403 /sal/inc/rtl/ustring.hxx | |
parent | 1af9425e8239d1f7e3a12bf9979d190904f695cd (diff) |
String->OUString, with accompanying tests
Diffstat (limited to 'sal/inc/rtl/ustring.hxx')
-rw-r--r-- | sal/inc/rtl/ustring.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sal/inc/rtl/ustring.hxx b/sal/inc/rtl/ustring.hxx index e104f0d40760..63bab1894122 100644 --- a/sal/inc/rtl/ustring.hxx +++ b/sal/inc/rtl/ustring.hxx @@ -413,7 +413,7 @@ public: str.pData->buffer, str.pData->length ) == 0; } - /** + /** Match against a substring appearing in this string. The result is true if and only if the second string appears as a substring @@ -598,6 +598,11 @@ public: return rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength( pData->buffer, pData->length, asciiStr ) == 0; } + sal_Int32 compareToIgnoreAsciiCaseAscii( const sal_Char * asciiStr ) const SAL_THROW(()) + { + return rtl_ustr_ascii_compareIgnoreAsciiCase_WithLength( pData->buffer, pData->length, asciiStr ); + } + /** Perform a ASCII lowercase comparison of two strings. |