diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2008-06-06 13:35:38 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2008-06-06 13:35:38 +0000 |
commit | bad0e84c2d8ca39a495628801c6059e525a763b3 (patch) | |
tree | 17c7c9c1d09fbc432f6936d92b93e2cd569110f8 /comphelper | |
parent | 297b2fd5412fa92c79deb68f01b1c37268e1a209 (diff) |
INTEGRATION: CWS dba30c (1.5.20); FILE MERGED
2008/05/13 06:51:45 fs 1.5.20.1: joining changes from CWS odbmacros3 to CWS dba30c
2008/04/16 20:54:38 fs 1.5.8.1: searchAndReplaceAllAsciiWithAscii
Diffstat (limited to 'comphelper')
-rw-r--r-- | comphelper/inc/comphelper/string.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/comphelper/inc/comphelper/string.hxx b/comphelper/inc/comphelper/string.hxx index f843cd167c69..9f6165e03328 100644 --- a/comphelper/inc/comphelper/string.hxx +++ b/comphelper/inc/comphelper/string.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: string.hxx,v $ - * $Revision: 1.5 $ + * $Revision: 1.6 $ * * This file is part of OpenOffice.org. * @@ -77,6 +77,13 @@ COMPHELPER_DLLPUBLIC rtl::OUString searchAndReplaceAsciiL( rtl::OUString const & to, sal_Int32 beginAt = 0, sal_Int32 * replacedAt = NULL); +/** replaces, in the given source string, all occurences of a given ASCII pattern + with another ASCII pattern +*/ +COMPHELPER_DLLPUBLIC ::rtl::OUString searchAndReplaceAllAsciiWithAscii( + const ::rtl::OUString& source, const sal_Char* from, const sal_Char* to, + const sal_Int32 beginAt = 0 ); + /** does an in-place replacement of the first occurance of a sub string with another string |