callcatcher: remove unused standalone SearchAndReplace

This commit is contained in:
Caolán McNamara 2011-07-10 00:59:25 +01:00
parent f3643c3851
commit 76e56184c2

View file

@ -39,22 +39,6 @@ unsigned SfxStack::nLevel = 0;
//--------------------------------------------------------------------
String SearchAndReplace( const String &rSource,
const String &rToReplace,
const String &rReplacement )
{
String aTarget( rSource );
sal_uInt16 nPos = rSource.Search( rToReplace );
if ( nPos != STRING_NOTFOUND )
{
aTarget.Erase( nPos, rToReplace.Len() );
return aTarget.Insert( rReplacement, nPos );
}
return rSource;
}
//--------------------------------------------------------------------
String SfxStringEncode( const String &rSource, const char * )
{
String aRet;