From 66e6278e9ad0537843cfecbfee9bcf808702a141 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Fri, 9 Sep 2016 12:52:48 +0200 Subject: use std::unique_ptr Change-Id: I507b19dfd7445144258554b08bbf2fea0ed1698f --- xmloff/source/style/XMLFontStylesContext.cxx | 9 --------- 1 file changed, 9 deletions(-) (limited to 'xmloff') diff --git a/xmloff/source/style/XMLFontStylesContext.cxx b/xmloff/source/style/XMLFontStylesContext.cxx index 2d5469d3d282..28fb855b6b8d 100644 --- a/xmloff/source/style/XMLFontStylesContext.cxx +++ b/xmloff/source/style/XMLFontStylesContext.cxx @@ -377,15 +377,6 @@ XMLFontStylesContext::XMLFontStylesContext( SvXMLImport& rImport, { } -XMLFontStylesContext::~XMLFontStylesContext() -{ - delete pFamilyNameHdl; - delete pFamilyHdl; - delete pPitchHdl; - delete pEncHdl; - delete pFontStyleAttrTokenMap; -} - bool XMLFontStylesContext::FillProperties( const OUString& rName, ::std::vector< XMLPropertyState > &rProps, sal_Int32 nFamilyNameIdx, -- cgit