[Libreoffice-commits] core.git: vcl/inc vcl/unx

Stephan Bergmann sbergman at redhat.com
Tue Feb 21 16:11:04 UTC 2017


 vcl/inc/unx/gtk/gtkprn.hxx |    2 ++
 vcl/unx/gtk/salprn-gtk.cxx |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit 887c89435e6088bdb7154e70b240d6ecdf1d61a6
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Feb 21 17:10:34 2017 +0100

    GtkSalPrinter_Impl must be complete for the definition of ~GtkSalPrinter
    
    Change-Id: Ieafd639e6665025e17f6a2eb3bd5a05167de07ea

diff --git a/vcl/inc/unx/gtk/gtkprn.hxx b/vcl/inc/unx/gtk/gtkprn.hxx
index 63158a9..5ef0563 100644
--- a/vcl/inc/unx/gtk/gtkprn.hxx
+++ b/vcl/inc/unx/gtk/gtkprn.hxx
@@ -21,6 +21,8 @@ class GtkSalPrinter : public PspSalPrinter
 public:
     GtkSalPrinter(SalInfoPrinter* i_pInfoPrinter);
 
+    ~GtkSalPrinter() override;
+
     using PspSalPrinter::StartJob;
     virtual bool StartJob(
             const OUString* i_pFileName, const OUString& i_rJobName,
diff --git a/vcl/unx/gtk/salprn-gtk.cxx b/vcl/unx/gtk/salprn-gtk.cxx
index 896640d..3563e1a 100644
--- a/vcl/unx/gtk/salprn-gtk.cxx
+++ b/vcl/unx/gtk/salprn-gtk.cxx
@@ -164,6 +164,8 @@ GtkSalPrinter::GtkSalPrinter(SalInfoPrinter* const i_pInfoPrinter)
 {
 }
 
+GtkSalPrinter::~GtkSalPrinter() = default;
+
 bool
 GtkSalPrinter::impl_doJob(
         const OUString* const i_pFileName,


More information about the Libreoffice-commits mailing list