diff options
author | Sören Möller <soerenmoeller2001@gmail.com> | 2012-07-09 21:48:26 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2012-07-11 23:54:33 +0200 |
commit | c5653e812eb9729581e24c5e7822441b00b6d059 (patch) | |
tree | e2ccfd3167298072e398a5786e750c3eace2c402 /unotools/inc/unotools/textsearch.hxx | |
parent | efd131357462aa16848f308fdb788e3e41f90e6b (diff) |
Replaced deprecated tools/String with OUString in sc/../chgviset
Added new TextSearch::SearchForward mirroring TextSearch::SearchFrwrd using OUString and sal_Int32 to make it possible to replace all uses of tools/String
Change-Id: I260d8d3a23d634eab37f28a5ceaf61ace5040540
Diffstat (limited to 'unotools/inc/unotools/textsearch.hxx')
-rw-r--r-- | unotools/inc/unotools/textsearch.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unotools/inc/unotools/textsearch.hxx b/unotools/inc/unotools/textsearch.hxx index 58e49aa824d2..1f955bc3e83c 100644 --- a/unotools/inc/unotools/textsearch.hxx +++ b/unotools/inc/unotools/textsearch.hxx @@ -159,6 +159,9 @@ public: int SearchFrwrd( const String &rStr, xub_StrLen* pStart, xub_StrLen* pEnde, ::com::sun::star::util::SearchResult* pSrchResult = 0 ); + sal_Bool SearchForward( const ::rtl::OUString &rStr, + sal_Int32* pStart, sal_Int32* pEnd, + ::com::sun::star::util::SearchResult* pRes = 0 ); int SearchBkwrd( const String &rStr, xub_StrLen* pStart, xub_StrLen* pEnde, ::com::sun::star::util::SearchResult* pSrchResult = 0 ); |