diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-15 16:00:11 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-17 10:16:35 +0200 |
commit | a9286f445d15207069799655ef59267d5d371c65 (patch) | |
tree | bfbea04c2e74c2a5eedce0f8ac75c68ca8a8cd86 /vcl | |
parent | 2e975301023354695e686812382b67c858774f67 (diff) |
loplugin:useuniqueptr in PPDParser
Change-Id: Iafd63c276d430ea2a08286921f593bc56587e71c
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/generic/printer/ppdparser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index 335b72db59de..8de510de902b 100644 --- a/vcl/unx/generic/printer/ppdparser.cxx +++ b/vcl/unx/generic/printer/ppdparser.cxx @@ -885,7 +885,7 @@ PPDParser::~PPDParser() { for( PPDParser::hash_type::iterator it = m_aKeys.begin(); it != m_aKeys.end(); ++it ) delete it->second; - delete m_pTranslator; + m_pTranslator.reset(); } void PPDParser::insertKey( const OUString& rKey, PPDKey* pKey ) |