summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJoseph Powers <jpowers27@cox.net>2010-12-14 22:49:51 -0800
committerJoseph Powers <jpowers27@cox.net>2010-12-14 22:50:45 -0800
commitd1f957785dc4deebbe273bd2c6ff6b82150c691f (patch)
tree0d29a89138ce1ff8afc3f4abe80550ed88390505 /desktop
parentbdf4f2f0d062c9f8db4fc8881c86d52a5a99cd17 (diff)
Fix MAC OS X command line issue. (-psn)
I'm sure what it doesn't (I tried testing it). But RTL_CONSTASCII_LENGTH("-psn") is wrong and failes to compile.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/cmdlineargs.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index 04da96a83cc5..7d7b2562fe8d 100644
--- a/desktop/source/app/cmdlineargs.cxx
+++ b/desktop/source/app/cmdlineargs.cxx
@@ -536,7 +536,7 @@ sal_Bool CommandLineArgs::InterpretCommandLineParameter( const ::rtl::OUString&
the only platform dependent parameter. Should more appear
we should find a better solution
*/
- else if ( aArg.equalsAsciiL(RTL_CONSTASCII_LENGTH("-psn")) )
+ else if ( aArg.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("-psn")) )
{
SetBoolParam_Impl( CMD_BOOLPARAM_PSN, sal_True );
return sal_True;