From a9286f445d15207069799655ef59267d5d371c65 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 15 Jan 2018 16:00:11 +0200 Subject: loplugin:useuniqueptr in PPDParser Change-Id: Iafd63c276d430ea2a08286921f593bc56587e71c --- include/vcl/ppdparser.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/vcl/ppdparser.hxx b/include/vcl/ppdparser.hxx index a3a04b86fdff..7cffed146ea7 100644 --- a/include/vcl/ppdparser.hxx +++ b/include/vcl/ppdparser.hxx @@ -19,6 +19,7 @@ #ifndef INCLUDED_VCL_PPDPARSER_HXX #define INCLUDED_VCL_PPDPARSER_HXX +#include #include #include @@ -172,7 +173,7 @@ private: const PPDKey* m_pFontList; // translations - PPDTranslator* m_pTranslator; + std::unique_ptr m_pTranslator; PPDParser( const OUString& rFile ); PPDParser( const OUString& rFile, std::vector keys ); -- cgit