summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-09 12:51:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-09 12:51:16 +0100
commit4fc8af89257436b9cad70de574a166aa11ec42f1 (patch)
treeaeb63916a6faf5d4fa2a89922af35bd2925f508a
parent5a44320a4d8c7893f596ba2ad1ef2db33fdc8b5c (diff)
Resolves: rhbz#838368 --view ignored while -view accepted
and our ooviewdoc script uses --view Change-Id: Ice708f1c72c8d29d411ba21e93cb19876af13881
-rw-r--r--desktop/source/app/cmdlineargs.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index af7ee26e21e3..c67db8c0564f 100644
--- a/desktop/source/app/cmdlineargs.cxx
+++ b/desktop/source/app/cmdlineargs.cxx
@@ -217,7 +217,7 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier )
bStartEvent = false;
bDisplaySpec = false;
}
- else if ( aArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "-view" )))
+ else if ( oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "view" )))
{
// open in viewmode
bOpenEvent = false;
@@ -229,7 +229,7 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier )
bStartEvent = false;
bDisplaySpec = false;
}
- else if ( aArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "-show" )))
+ else if ( oArg.equalsIgnoreAsciiCaseAsciiL(RTL_CONSTASCII_STRINGPARAM( "show" )))
{
// open in viewmode
bOpenEvent = false;