diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-10 12:30:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-10 21:51:42 +0100 |
commit | 9891cb881b68d643bcae6160e2284be4728a3612 (patch) | |
tree | 15653864201a40b3192188fb7eaf339ed632226a /tools/source/string/strimp.cxx | |
parent | ce6b095ce310c1bd6c9b3120497a3af511186d2b (diff) |
Related: fdo#38838 remove String::Equals(const sal_Unicode* ...)
Change-Id: I6eeede3261e7b6f5ad81a4d2fa9ecc6c07002dbb
Diffstat (limited to 'tools/source/string/strimp.cxx')
-rw-r--r-- | tools/source/string/strimp.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tools/source/string/strimp.cxx b/tools/source/string/strimp.cxx index 3c47dabfbeb6..6fbb280cab74 100644 --- a/tools/source/string/strimp.cxx +++ b/tools/source/string/strimp.cxx @@ -17,22 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -static sal_Int32 ImplStringCompare( const STRCODE* pStr1, const STRCODE* pStr2, - xub_StrLen nCount ) -{ - sal_Int32 nRet = 0; - while ( nCount && - ((nRet = ((sal_Int32)((STRCODEU)*pStr1))-((sal_Int32)((STRCODEU)*pStr2))) == 0) && - *pStr2 ) - { - ++pStr1, - ++pStr2, - --nCount; - } - - return nRet; -} - static sal_Int32 ImplStringCompareWithoutZero( const STRCODE* pStr1, const STRCODE* pStr2, sal_Int32 nCount ) { |