summaryrefslogtreecommitdiff
path: root/scripting/source/provider/URIHelper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-15 10:15:16 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-15 10:15:16 +0100
commitfe17eb9448f6da0e8fab6aca02f49c7cf597e2b0 (patch)
treeff95ed705950b9afe54828761c71f065348b7773 /scripting/source/provider/URIHelper.cxx
parent0d58e6723973211fb57d18dc8aef65510c1f965e (diff)
scripting: Use appropriate OUString functions on string constants
Change-Id: I8ee8eb92ac95937893c894e67882e9df2c16a67d
Diffstat (limited to 'scripting/source/provider/URIHelper.cxx')
-rw-r--r--scripting/source/provider/URIHelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripting/source/provider/URIHelper.cxx b/scripting/source/provider/URIHelper.cxx
index 8c67606e9914..574b52cfc970 100644
--- a/scripting/source/provider/URIHelper.cxx
+++ b/scripting/source/provider/URIHelper.cxx
@@ -113,24 +113,24 @@ ScriptingFrameworkURIHelper::initBaseURI()
OUString uri, test;
bool bAppendScriptsPart = false;
- if ( m_sLocation.equalsAscii(USER))
+ if ( m_sLocation == USER )
{
test = USER;
uri = USER_URI;
bAppendScriptsPart = true;
}
- else if ( m_sLocation.equalsAscii(USER_UNO_PACKAGES))
+ else if ( m_sLocation == USER_UNO_PACKAGES )
{
test = "uno_packages";
uri = OUString( USER_URI ) + USER_UNO_PACKAGES_DIR;
}
- else if (m_sLocation.equalsAscii(SHARE))
+ else if (m_sLocation == SHARE)
{
test = SHARE;
uri = SHARE_URI;
bAppendScriptsPart = true;
}
- else if (m_sLocation.equalsAscii(SHARE_UNO_PACKAGES))
+ else if (m_sLocation == SHARE_UNO_PACKAGES)
{
test = "uno_packages";
uri = SHARE_UNO_PACKAGES_URI;