summaryrefslogtreecommitdiff
path: root/filter/source/pdf/pdfdialog.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-09-15 09:17:14 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-09-15 09:30:05 +0200
commit538635e089cac31ddf433f650e86de5e2b7f03cc (patch)
tree1f0e246954203f0d480e5ec61c049feec0ec76f1 /filter/source/pdf/pdfdialog.hxx
parentc3c4ae5fdac0341f01eeed8d5c633d203eed8b2a (diff)
Make OGenericUnoDialog::destoryDialog non-virtual
...it is only ever called: * either from dtors, where the virtual-ness doesn't acutally help (and would trigger loplugin:fragiledestructor if that were enabled) * or, in module filter, from executeDialog members of (final) classes directly derived from OGenericUnODialog without overriding destroyDialog Change-Id: If9a7370385a27952189423e5632b3f01e18ddbb5
Diffstat (limited to 'filter/source/pdf/pdfdialog.hxx')
-rw-r--r--filter/source/pdf/pdfdialog.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/filter/source/pdf/pdfdialog.hxx b/filter/source/pdf/pdfdialog.hxx
index b20cd4cd65a7..c40adedd9c13 100644
--- a/filter/source/pdf/pdfdialog.hxx
+++ b/filter/source/pdf/pdfdialog.hxx
@@ -30,8 +30,9 @@ namespace vcl { class Window; }
typedef ::cppu::ImplInheritanceHelper < ::svt::OGenericUnoDialog, XPropertyAccess, XExporter > PDFDialog_Base;
-class PDFDialog : public PDFDialog_Base,
- public ::comphelper::OPropertyArrayUsageHelper< PDFDialog >
+class PDFDialog final:
+ public PDFDialog_Base,
+ public ::comphelper::OPropertyArrayUsageHelper< PDFDialog >
{
private:
Sequence< PropertyValue > maMediaDescriptor;