diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-10 01:45:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-11 09:06:39 +0100 |
commit | 27a81bb077daa5491761762ac18d3970ce1a7bb2 (patch) | |
tree | 9e19c0c1fac5f9cbc071091882661561791c4037 /sal/qa/OStringBuffer/rtl_String_Utils.cxx | |
parent | 28023e936e58bd4f438a2caa6b9d167e039f928c (diff) |
unused methods
Diffstat (limited to 'sal/qa/OStringBuffer/rtl_String_Utils.cxx')
-rw-r--r-- | sal/qa/OStringBuffer/rtl_String_Utils.cxx | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/sal/qa/OStringBuffer/rtl_String_Utils.cxx b/sal/qa/OStringBuffer/rtl_String_Utils.cxx index a7e2dc76e..f6c5bb3f1 100644 --- a/sal/qa/OStringBuffer/rtl_String_Utils.cxx +++ b/sal/qa/OStringBuffer/rtl_String_Utils.cxx @@ -194,42 +194,6 @@ sal_Char* createName( sal_Char* dst, const sal_Char* meth, sal_uInt32 cnt ) } //------------------------------------------------------------------------ -// testing the method compareTo( const OString & aStr ) -//------------------------------------------------------------------------ -void makeComment( char *com, const char *str1, const char *str2, - sal_Int32 sgn ) -{ - cpystr(com, str1); - int str1Length = AStringLen( str1 ); - const char *sign = (sgn == 0) ? " == " : (sgn > 0) ? " > " : " < " ; - cpystr(com + str1Length, sign); - int signLength = AStringLen(sign); - cpystr(com + str1Length + signLength, str2); - com[str1Length + signLength + AStringLen(str2)] = 0; -} - -//------------------------------------------------------------------------ - -sal_uInt32 UStringLen( const sal_Unicode *pUStr ) -{ - sal_uInt32 nUStrLen = 0; - - if ( pUStr != NULL ) - { - const sal_Unicode *pTempUStr = pUStr; - - while( *pTempUStr ) - { - pTempUStr++; - } // while - - nUStrLen = (sal_uInt32)( pTempUStr - pUStr ); - } // if - - return nUStrLen; -} // UStringLen - -//------------------------------------------------------------------------ static inline sal_Int32 ACharToUCharCompare( const sal_Unicode *pUStr, const sal_Char *pAStr |