diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-07-09 12:51:16 +0100 |
---|---|---|
committer | Rene Engelhard <rene@debian.org> | 2013-01-09 19:44:58 +0100 |
commit | c695c0fdd15d70d26ac8f4a82dde515372df32c2 (patch) | |
tree | 5d53db84042dc3de478a9e3938a1d2bf8e1ab3d2 | |
parent | e5add879def40a7695fb506b42c024ef9f776062 (diff) |
Resolves: rhbz#838368 --view ignored while -view accepted
and our ooviewdoc script uses --view
Change-Id: Ice708f1c72c8d29d411ba21e93cb19876af13881
Signed-off-by: Petr Mladek <pmladek@suse.cz>
-rw-r--r-- | desktop/source/app/cmdlineargs.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx index 28f805436718..e147aea9040e 100644 --- a/desktop/source/app/cmdlineargs.cxx +++ b/desktop/source/app/cmdlineargs.cxx @@ -219,7 +219,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; @@ -231,7 +231,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; |