diff options
Diffstat (limited to 'winaccessibility/source/UAccCOM/AccTextBase.cxx')
-rw-r--r-- | winaccessibility/source/UAccCOM/AccTextBase.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/winaccessibility/source/UAccCOM/AccTextBase.cxx b/winaccessibility/source/UAccCOM/AccTextBase.cxx index 156ef30c21eb..597aeceb2b40 100644 --- a/winaccessibility/source/UAccCOM/AccTextBase.cxx +++ b/winaccessibility/source/UAccCOM/AccTextBase.cxx @@ -938,8 +938,7 @@ STDMETHODIMP CAccTextBase::put_XInterface(hyper pXInterface) static OUString ReplaceOneChar(OUString oldOUString, OUString replacedChar, OUString replaceStr) { - int iReplace = -1; - iReplace = oldOUString.lastIndexOf(replacedChar); + int iReplace = oldOUString.lastIndexOf(replacedChar); if (iReplace > -1) { for(;iReplace>-1;) |