Kaydet (Commit) 4ebde2bc authored tarafından Noel Grandin's avatar Noel Grandin

convert sw/inc/unosrch.hxx from String to OUString

Change-Id: Ic25aef1e37cfa66402b7acf13f3fc4cdbc48d350
üst 8d620216
......@@ -44,8 +44,8 @@ class SwXTextSearch : public cppu::WeakImplHelper3
{
friend class SwXTextDocument;
String sSearchText;
String sReplaceText;
OUString sSearchText;
OUString sReplaceText;
SwSearchProperties_Impl* pSearchProperties;
SwSearchProperties_Impl* pReplaceProperties;
......
......@@ -754,7 +754,7 @@ sal_Int32 SwXTextDocument::replaceAll(const Reference< util::XSearchDescriptor >
nResult = (sal_Int32)pUnoCrsr->Find( aSearch, !pSearch->bStyles,
eStart, eEnd, bCancel,
(FindRanges)eRanges,
pSearch->sSearchText.Len() ? &aSearchOpt : 0,
!pSearch->sSearchText.isEmpty() ? &aSearchOpt : 0,
&aReplace );
}
else if(pSearch->bStyles)
......@@ -884,7 +884,7 @@ SwUnoCrsr* SwXTextDocument::FindAny(const Reference< util::XSearchDescriptor >
nResult = (sal_Int32)pUnoCrsr->Find( aSearch, !pSearch->bStyles,
eStart, eEnd, bCancel,
(FindRanges)eRanges,
pSearch->sSearchText.Len() ? &aSearchOpt : 0,
!pSearch->sSearchText.isEmpty() ? &aSearchOpt : 0,
0 );
}
else if(pSearch->bStyles)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment