summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/txtflde.hxx5
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: