diff options
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 ) { |