summaryrefslogtreecommitdiff
path: root/include/filter
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-27 15:38:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-27 21:17:36 +0200
commit3e41c06607737e3ab91545644abe2761dcba1157 (patch)
tree061782d28095fe1a9243c256da6232a62bf325f1 /include/filter
parent53491f8a66d72176aab332983f9aff47ecd3d654 (diff)
use boost::optional for OUString instead of std::unique_ptr
Change-Id: I4539380956dad232f3ce92498b8f58a205fe00b1 Reviewed-on: https://gerrit.libreoffice.org/58196 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/filter')
-rw-r--r--include/filter/msfilter/svdfppt.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx
index 044ad88b43d2..5600200334d9 100644
--- a/include/filter/msfilter/svdfppt.hxx
+++ b/include/filter/msfilter/svdfppt.hxx
@@ -45,6 +45,7 @@
#include <tools/solar.h>
#include <vcl/graph.hxx>
#include <salhelper/simplereferenceobject.hxx>
+#include <boost/optional.hpp>
namespace boost {
template <class T> class optional;
@@ -495,7 +496,7 @@ struct MSFILTER_DLLPUBLIC PPTFieldEntry
sal_uInt16 nTextRangeEnd;
std::unique_ptr<SvxFieldItem> xField1;
std::unique_ptr<SvxFieldItem> xField2;
- std::unique_ptr<OUString> xString;
+ boost::optional<OUString> xString;
PPTFieldEntry()
: nPos(0)