[Libreoffice-commits] .: desktop/source

Joseph Powers jpowers at kemper.freedesktop.org
Thu Dec 16 22:13:07 PST 2010


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

New commits:
commit 340af8576f8a32f9a9384f736b6122ed7377e6f9
Author: Joseph Powers <jpowers27 at cox.net>
Date:   Thu Dec 16 22:13:00 2010 -0800

    Fix issue with -psn arg not being processed correctly (Mac OS)
    
    This caused LibO to open to writer instead of the main screen.
    Thanks go to shm_get & hohei for helping determine the correct solution.

diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index 3b065c2..97a9fb9 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_STRINGPARAM("-psn")) )
+    else if ( aArg.matchAsciiL(RTL_CONSTASCII_STRINGPARAM("-psn")) )
     {
         SetBoolParam_Impl( CMD_BOOLPARAM_PSN, sal_True );
         return sal_True;


More information about the Libreoffice-commits mailing list