From 261ea82f11b10a8d1ab8175f66e72077a7b3350d Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 28 Feb 2023 14:26:14 +0200 Subject: no need to allocate XMLTextColumnsArray_Impl separately an empty vector is only 2 words big Change-Id: I3e4a9d42b9ecb44c57ce11c400a17a4c8b053eca Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147972 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/inc/XMLTextColumnsContext.hxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'xmloff/inc') diff --git a/xmloff/inc/XMLTextColumnsContext.hxx b/xmloff/inc/XMLTextColumnsContext.hxx index 9ce2715ba749..438f01c3a8ca 100644 --- a/xmloff/inc/XMLTextColumnsContext.hxx +++ b/xmloff/inc/XMLTextColumnsContext.hxx @@ -29,11 +29,9 @@ class XMLTextColumnContext_Impl; class XMLTextColumnSepContext_Impl; class SvXMLTokenMap; -typedef std::vector> XMLTextColumnsArray_Impl; - class XMLTextColumnsContext final :public XMLElementPropertyContext { - std::unique_ptr pColumns; + std::vector> maColumns; rtl::Reference mxColumnSep; sal_Int16 nCount; bool bAutomatic; -- cgit