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

New commits:
commit 1c13898b804e837e202de85244934d7057e695e2
Author: Stephan Bergmann <[email protected]>
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 <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

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;
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to