summaryrefslogtreecommitdiff
path: root/vcl
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 /vcl
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 'vcl')
-rw-r--r--vcl/unx/generic/printer/ppdparser.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx
index 4efe108f5e9b..60df9da4b33e 100644
--- a/vcl/unx/generic/printer/ppdparser.cxx
+++ b/vcl/unx/generic/printer/ppdparser.cxx
@@ -1678,10 +1678,6 @@ PPDContext& PPDContext::operator=( PPDContext&& rCopy )
return *this;
}
-PPDContext::~PPDContext()
-{
-}
-
const PPDKey* PPDContext::getModifiedKey( int n ) const
{
hash_type::const_iterator it;