[Libreoffice-commits] .: desktop/source

Joseph Powers jpowers at kemper.freedesktop.org
Tue Dec 14 22:50:59 PST 2010


 desktop/source/app/cmdlineargs.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit db232019e0da1ca0ba3425a0a1d49a74bd6ec5bc
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Tue Dec 14 22:49:51 2010 -0800

    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.

diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index 80ed05b..766a764 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;


More information about the Libreoffice-commits mailing list