diff options
Diffstat (limited to 'cppu/source/uno/EnvStack.cxx')
-rw-r--r-- | cppu/source/uno/EnvStack.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cppu/source/uno/EnvStack.cxx b/cppu/source/uno/EnvStack.cxx index 2c1100a62499..1efdbfb81622 100644 --- a/cppu/source/uno/EnvStack.cxx +++ b/cppu/source/uno/EnvStack.cxx @@ -153,10 +153,10 @@ static rtl::OUString s_getPrefix(rtl::OUString const & str1, rtl::OUString const token1 = str1.getToken(0, ':', nIndex1); token2 = str2.getToken(0, ':', nIndex2); - if (token1.equals(token2)) + if (token1 == token2) sim += token1.getLength() + 1; } - while(nIndex1 == nIndex2 && nIndex1 >= 0 && token1.equals(token2)); + while(nIndex1 == nIndex2 && nIndex1 >= 0 && token1 == token2); rtl::OUString result; |