[Libreoffice-commits] .: 2 commits - vcl/unx

Lubos Lunak llunak at kemper.freedesktop.org
Thu Mar 24 10:17:28 PDT 2011


 vcl/unx/headless/svpprn.hxx |    7 -------
 vcl/unx/inc/salprn.h        |    1 -
 2 files changed, 8 deletions(-)

New commits:
commit 3291aab093221baf2f6812344b57fae0b941c80f
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Thu Mar 24 18:01:59 2011 +0100

    using not needed here

diff --git a/vcl/unx/inc/salprn.h b/vcl/unx/inc/salprn.h
index f605ddb..e7c5429 100644
--- a/vcl/unx/inc/salprn.h
+++ b/vcl/unx/inc/salprn.h
@@ -85,7 +85,6 @@ public:
     virtual ~PspSalPrinter();
 
     // overload all pure virtual methods
-    using SalPrinter::StartJob;
     virtual sal_Bool					StartJob( const XubString* pFileName,
                                               const XubString& rJobName,
                                               const XubString& rAppName,
commit 60f6b3d7da1be0ebdced638799ad0c898ba074d7
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Thu Mar 24 18:01:51 2011 +0100

    why not just write abort() here? fix recursive self-call

diff --git a/vcl/unx/headless/svpprn.hxx b/vcl/unx/headless/svpprn.hxx
index 86adba0..832a12d 100644
--- a/vcl/unx/headless/svpprn.hxx
+++ b/vcl/unx/headless/svpprn.hxx
@@ -47,13 +47,6 @@ class SvpSalPrinter : public PspSalPrinter
 {
 public:
     SvpSalPrinter( SalInfoPrinter* pInfoPrinter ) : PspSalPrinter(pInfoPrinter) {}
-
-    virtual sal_Bool StartJob( const XubString* pFileName, const XubString& rJobName,
-                           const XubString& rAppName, sal_uLong nCopies, bool bCollate,
-                           bool /*bDirect*/, ImplJobSetup* pSetupData )
-    {
-        return SvpSalPrinter::StartJob( pFileName, rJobName, rAppName, nCopies, bCollate, false, pSetupData );
-    }
 };
 
 #endif // _SVP_SVPPRN_HXX


More information about the Libreoffice-commits mailing list