From d05a74234d5ab6b029618281908552066fe04fa4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 18 Dec 2023 14:32:49 +0200 Subject: unique_ptr->optional in XMLTextFieldExport Change-Id: I161fd82784dfbb19ff42f83cacc24bf4b347206c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160911 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/inc/txtflde.hxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xmloff/inc') diff --git a/xmloff/inc/txtflde.hxx b/xmloff/inc/txtflde.hxx index f98fb7c5c421..f21b85eb1b2a 100644 --- a/xmloff/inc/txtflde.hxx +++ b/xmloff/inc/txtflde.hxx @@ -32,6 +32,7 @@ #include #include #include +#include #include #include "txtfld.hxx" @@ -154,10 +155,10 @@ class XMLTextFieldExport final SvXMLExport& rExport; /// store used text field master names (NULL means: don't collect) - std::unique_ptr< ::std::map< + std::optional< ::std::map< css::uno::Reference< css::text::XText >, ::std::set< OUString > > > - pUsedMasters; + moUsedMasters; public: -- cgit