summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-12-18 09:29:18 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-12-18 09:55:46 +0100
commita95958759a84c570b49fc19a9d8939ebed0d9cbf (patch)
tree35c904502d0b4d262a1ee19cc664305cc9bc26a1 /vcl/source
parent0a41d401a0c6460219f3c57cbb75d79ba13ad8a3 (diff)
use o3tl::optional rather than boost::optional
Change-Id: Ia02e4c37935445e35e806964570fa900e3981463 Reviewed-on: https://gerrit.libreoffice.org/85357 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/outdev/text.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/outdev/text.cxx b/vcl/source/outdev/text.cxx
index 8de7cece1bbb..ec0711eb101d 100644
--- a/vcl/source/outdev/text.cxx
+++ b/vcl/source/outdev/text.cxx
@@ -48,7 +48,7 @@
#include <textlayout.hxx>
#include <textlineinfo.hxx>
#include <impglyphitem.hxx>
-#include <boost/optional.hpp>
+#include <o3tl/optional.hxx>
#define TEXT_DRAW_ELLIPSIS (DrawTextFlags::EndEllipsis | DrawTextFlags::PathEllipsis | DrawTextFlags::NewsEllipsis)
@@ -1191,7 +1191,7 @@ ImplLayoutArgs OutputDevice::ImplPrepareLayoutArgs( OUString& rStr,
const sal_Unicode* pBase = rStr.getStr();
const sal_Unicode* pStr = pBase + nMinIndex;
const sal_Unicode* pEnd = pBase + nEndIndex;
- boost::optional<OUStringBuffer> xTmpStr;
+ o3tl::optional<OUStringBuffer> xTmpStr;
for( ; pStr < pEnd; ++pStr )
{
// TODO: are there non-digit localizations?