diff options
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/lomenubar/FrameJob.cxx | 4 |
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; } |