summaryrefslogtreecommitdiff
path: root/sc/source/filter/inc/xlpivot.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/inc/xlpivot.hxx')
-rw-r--r--sc/source/filter/inc/xlpivot.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/inc/xlpivot.hxx b/sc/source/filter/inc/xlpivot.hxx
index 394500942def..5306bbbf690c 100644
--- a/sc/source/filter/inc/xlpivot.hxx
+++ b/sc/source/filter/inc/xlpivot.hxx
@@ -33,6 +33,7 @@
#include <dpobject.hxx>
#include <memory>
+#include <boost/optional.hpp>
class XclImpStream;
class XclExpStream;
@@ -625,7 +626,7 @@ struct XclPTFieldExtInfo
sal_uInt16 mnSortField; /// Index to data field sorting bases on.
sal_uInt16 mnShowField; /// Index to data field AutoShow bases on.
sal_uInt16 mnNumFmt;
- std::unique_ptr<OUString> mpFieldTotalName;
+ boost::optional<OUString> mpFieldTotalName;
explicit XclPTFieldExtInfo();