summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2023-02-28 14:26:14 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2023-02-28 19:09:13 +0000
commit261ea82f11b10a8d1ab8175f66e72077a7b3350d (patch)
treefaf7f33e5607ece5fdee674d50448c75fa84e883 /xmloff/inc
parentd01769af5f79988ae4263586b623df501b37ed26 (diff)
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 <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/XMLTextColumnsContext.hxx4
1 files changed, 1 insertions, 3 deletions
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<rtl::Reference<XMLTextColumnContext_Impl>> XMLTextColumnsArray_Impl;
-
class XMLTextColumnsContext final :public XMLElementPropertyContext
{
- std::unique_ptr<XMLTextColumnsArray_Impl> pColumns;
+ std::vector<rtl::Reference<XMLTextColumnContext_Impl>> maColumns;
rtl::Reference<XMLTextColumnSepContext_Impl> mxColumnSep;
sal_Int16 nCount;
bool bAutomatic;