1 |
From 4fc8af89257436b9cad70de574a166aa11ec42f1 Mon Sep 17 00:00:00 2001 |
2 |
From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com> |
3 |
Date: Mon, 9 Jul 2012 12:51:16 +0100 |
4 |
Subject: [PATCH] Resolves: rhbz#838368 --view ignored while -view accepted |
5 |
|
6 |
and our ooviewdoc script uses --view |
7 |
|
8 |
Change-Id: Ice708f1c72c8d29d411ba21e93cb19876af13881 |
9 |
--- |
10 |
desktop/source/app/cmdlineargs.cxx | 4 ++-- |
11 |
1 file changed, 2 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx |
14 |
index af7ee26..c67db8c 100644 |
15 |
--- a/desktop/source/app/cmdlineargs.cxx |
16 |
+++ b/desktop/source/app/cmdlineargs.cxx |
17 |
@@ -217,7 +217,7 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier ) |
18 |
bStartEvent = false; |
19 |
bDisplaySpec = false; |
20 |
} |
21 |
- else if ( aArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "-view" ))) |
22 |
+ else if ( oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "view" ))) |
23 |
{ |
24 |
// open in viewmode |
25 |
bOpenEvent = false; |
26 |
@@ -229,7 +229,7 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier ) |
27 |
bStartEvent = false; |
28 |
bDisplaySpec = false; |
29 |
} |
30 |
- else if ( aArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "-show" ))) |
31 |
+ else if ( oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "show" ))) |
32 |
{ |
33 |
// open in viewmode |
34 |
bOpenEvent = false; |
35 |
-- |
36 |
1.7.10.4 |
37 |
|