diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-12-18 14:32:49 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-12-18 18:18:57 +0100 |
commit | d05a74234d5ab6b029618281908552066fe04fa4 (patch) | |
tree | f4d3074d2d1ba9d53f9f0310bec7c2a32a20b3cd /xmloff/inc | |
parent | 164fb25f7b2db7d833d6d0f28e49c5cac68426b3 (diff) |
unique_ptr->optional in XMLTextFieldExport
Change-Id: I161fd82784dfbb19ff42f83cacc24bf4b347206c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160911
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'xmloff/inc')
-rw-r--r-- | xmloff/inc/txtflde.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
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 <map> #include <set> #include <memory> +#include <optional> #include <string_view> #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: |