[Libreoffice-commits] .: desktop/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Mon Jan 10 11:44:05 PST 2011
desktop/source/app/cmdlineargs.cxx | 20 --------------------
1 file changed, 20 deletions(-)
New commits:
commit 2749cbd4a2dcc5e3764242b7734d2adcf66025a9
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date: Wed Dec 22 16:33:34 2010 +0900
remove dead codes never passed through even in case of MACOSX
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index 6d02cdd..5ff4f76 100644
--- a/desktop/source/app/cmdlineargs.cxx
+++ b/desktop/source/app/cmdlineargs.cxx
@@ -281,26 +281,6 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier )
bStartEvent = sal_False;
bDisplaySpec = sal_False;
}
-
- #ifdef MACOSX
- /* #i84053# ignore -psn on Mac
- Platform dependent #ifdef here is ugly, however this is currently
- the only platform dependent parameter. Should more appear
- we should find a better solution
- */
- else if ( aArg.matchAsciiL(RTL_CONSTASCII_STRINGPARAM("-psn")))
- {
- // finder argument from MacOSX
- bOpenEvent = sal_False;
- bPrintEvent = sal_False;
- bForceOpenEvent = sal_False;
- bPrintToEvent = sal_False;
- bForceNewEvent = sal_False;
- bViewEvent = sal_False;
- bStartEvent = sal_False;
- bDisplaySpec = sal_False;
- }
- #endif
else if ( oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM("convert-to")))
{
bOpenEvent = sal_False;
More information about the Libreoffice-commits
mailing list