diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-18 09:29:18 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-12-18 09:55:46 +0100 |
commit | a95958759a84c570b49fc19a9d8939ebed0d9cbf (patch) | |
tree | 35c904502d0b4d262a1ee19cc664305cc9bc26a1 /vcl/source | |
parent | 0a41d401a0c6460219f3c57cbb75d79ba13ad8a3 (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.cxx | 4 |
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? |