summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmltbli.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-28 15:19:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-30 09:08:57 +0200
commit1d641424d2591c3e221d0bd6a203f46e5c4352fe (patch)
tree8a42e02c16d0f756af447adddc06b2a3a5bc8ba8 /sw/source/filter/xml/xmltbli.hxx
parent8ee22cb0bd6e741a553ef7d5b78cedc7ca669939 (diff)
std::unique_ptr->std::optional
Change-Id: I674ef2bccaa56d1435b821e3e161f7c47340202f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116380 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/filter/xml/xmltbli.hxx')
-rw-r--r--sw/source/filter/xml/xmltbli.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmltbli.hxx b/sw/source/filter/xml/xmltbli.hxx
index d29dc4b989f7..4a397b73c39e 100644
--- a/sw/source/filter/xml/xmltbli.hxx
+++ b/sw/source/filter/xml/xmltbli.hxx
@@ -60,7 +60,7 @@ class SwXMLTableContext : public XMLTextTableContext
ColumnWidthInfo(sal_uInt16 wdth, bool isRel) : width(wdth), isRelative(isRel) {};
};
std::vector<ColumnWidthInfo> m_aColumnWidths;
- std::unique_ptr<std::vector<OUString>> m_pColumnDefaultCellStyleNames;
+ std::optional<std::vector<OUString>> m_xColumnDefaultCellStyleNames;
css::uno::Reference< css::text::XTextCursor > m_xOldCursor;
css::uno::Reference< css::text::XTextContent > m_xTextContent;