summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-10 01:58:15 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-10 01:59:26 +0900
commite7e0455b0285f60ba999a0a6a831f3be271f5a37 (patch)
tree612248965d3b28720ae47d93c2ddf2dcd017e30e /framework
parentef09cbf45347f5f1ea34f35acedeea5aa3a7f6f6 (diff)
Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("...")) to equalsAscii("...")
Diffstat (limited to 'framework')
-rw-r--r--framework/source/lomenubar/FrameJob.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/lomenubar/FrameJob.cxx b/framework/source/lomenubar/FrameJob.cxx
index fd9d5dae9fa5..cb3643c617a8 100644
--- a/framework/source/lomenubar/FrameJob.cxx
+++ b/framework/source/lomenubar/FrameJob.cxx
@@ -225,7 +225,7 @@ Any SAL_CALL FrameJob::execute( const Sequence< NamedValue >& aArguments )
for (int i = 0; i<len; i++)
{
- if (aArguments[i].Name.equalsAscii("Environment"))
+ if (aArguments[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Environment")))
{
aArguments[i].Value >>= lEnv;
break;
@@ -235,7 +235,7 @@ Any SAL_CALL FrameJob::execute( const Sequence< NamedValue >& aArguments )
len = lEnv.getLength ();
for (int i = 0; i<len; i++)
{
- if (lEnv[i].Name.equalsAscii("Model"))
+ if (lEnv[i].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Model")))
{
lEnv[i].Value >>= xModel;
}