From 3e41c06607737e3ab91545644abe2761dcba1157 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 27 Jul 2018 15:38:29 +0200 Subject: 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 --- include/filter/msfilter/svdfppt.hxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/filter') 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 #include #include +#include namespace boost { template class optional; @@ -495,7 +496,7 @@ struct MSFILTER_DLLPUBLIC PPTFieldEntry sal_uInt16 nTextRangeEnd; std::unique_ptr xField1; std::unique_ptr xField2; - std::unique_ptr xString; + boost::optional xString; PPTFieldEntry() : nPos(0) -- cgit