summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-09-09 12:52:48 +0200
committerDavid Tardon <dtardon@redhat.com>2016-09-09 16:16:45 +0200
commit66e6278e9ad0537843cfecbfee9bcf808702a141 (patch)
tree214a3f0bff5390ae4d698bf7639ac4bb13c1c035 /xmloff
parent064a33a3b8e194876a4e368f65d8df2ff86ce381 (diff)
use std::unique_ptr
Change-Id: I507b19dfd7445144258554b08bbf2fea0ed1698f
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/style/XMLFontStylesContext.cxx9
1 files changed, 0 insertions, 9 deletions
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,