[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - desktop/source

Stephan Bergmann sbergman at redhat.com
Wed Nov 20 01:35:29 PST 2013


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

New commits:
commit 1c13898b804e837e202de85244934d7057e695e2
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Nov 19 14:03:54 2013 +0100

    rhbz#1031989 Accept --pt in addition to deprecated -pt
    
    Change-Id: I3593b3fc7e0ad405612216fb07e8632050b75cee
    (cherry picked from commit 5cb10c4c99e46c97984e4e1c1bca5915f83f0a1d)
    Reviewed-on: https://gerrit.libreoffice.org/6723
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index ca92a8d..f9baa07 100644
--- a/desktop/source/app/cmdlineargs.cxx
+++ b/desktop/source/app/cmdlineargs.cxx
@@ -186,7 +186,7 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier )
                         bStartEvent     = false;
                         bDisplaySpec    = false;
                     }
-                    else if ( aArg.equalsIgnoreAsciiCase("-pt"))
+                    else if ( oArg.equalsIgnoreAsciiCase("pt"))
                     {
                         // Print to special printer
                         bPrintToEvent   = true;


More information about the Libreoffice-commits mailing list