summaryrefslogtreecommitdiff
path: root/ucb/source/core
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-15 21:13:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-15 21:13:41 +0000
commitb1b10adec4c2730640e09aee8afed7ef393e338f (patch)
tree229832294557b8d7c7bbf8e6913c516a9a1264b2 /ucb/source/core
parente25d8eb4ae77230a4f98bd811d6be647b69ace6c (diff)
microopts equalsAsciiL faster than compareToAscii(const sal_Char*)
Diffstat (limited to 'ucb/source/core')
-rw-r--r--ucb/source/core/provprox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/core/provprox.cxx b/ucb/source/core/provprox.cxx
index 664d85372baa..774c0780a63e 100644
--- a/ucb/source/core/provprox.cxx
+++ b/ucb/source/core/provprox.cxx
@@ -348,7 +348,7 @@ UcbContentProviderProxy::getContentProvider()
m_xProvider
= Reference< XContentProvider >(
m_xSMgr->createInstance( m_aService ), UNO_QUERY );
- if(m_aArguments.compareToAscii("NoConfig") == 0)
+ if(m_aArguments.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("NoConfig")))
{
Reference<XInitialization> xInit(m_xProvider,UNO_QUERY);
if(xInit.is()) {