summaryrefslogtreecommitdiff
path: root/include/vcl/ppdparser.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2017-09-22 11:21:08 +0200
committerMichael Stahl <mstahl@redhat.com>2017-09-22 18:01:01 +0200
commitba4151219a5c010e840396e30bc408383e474327 (patch)
tree3a8ffc2146e132711552f103710434b6948d51e0 /include/vcl/ppdparser.hxx
parentaef3a494de14bf4dcea7c48b1218808e5497f00b (diff)
vcl: [loplugin:badstatics] PPDParser
class PPDContext actually looks harmless but it has an out-of-line destructor so the plugin can't see that it's harmless, so use default destructor instead. Change-Id: I921a4cdaeb5c8fe286615162b9e9c2a8db47b300 Reviewed-on: https://gerrit.libreoffice.org/42633 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'include/vcl/ppdparser.hxx')
-rw-r--r--include/vcl/ppdparser.hxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/vcl/ppdparser.hxx b/include/vcl/ppdparser.hxx
index ecbda153af79..16f93e080e76 100644
--- a/include/vcl/ppdparser.hxx
+++ b/include/vcl/ppdparser.hxx
@@ -255,7 +255,6 @@ public:
PPDContext( const PPDContext& rContext ) { operator=( rContext ); }
PPDContext& operator=( const PPDContext& rContext );
PPDContext& operator=( PPDContext&& rContext );
- ~PPDContext();
void setParser( const PPDParser* );
const PPDParser* getParser() const { return m_pParser; }