diff options
Diffstat (limited to 'cui')
-rw-r--r-- | cui/inc/pch/precompiled_cui.hxx | 2 | ||||
-rw-r--r-- | cui/source/options/fontsubs.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/tsaurls.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/cui/inc/pch/precompiled_cui.hxx b/cui/inc/pch/precompiled_cui.hxx index 23fd2f4dda00..77f5ecf0b4cd 100644 --- a/cui/inc/pch/precompiled_cui.hxx +++ b/cui/inc/pch/precompiled_cui.hxx @@ -49,7 +49,7 @@ #include <unordered_map> #include <utility> #include <vector> -#include <boost/optional.hpp> +#include <o3tl/optional.hxx> #include <boost/property_tree/ptree.hpp> #endif // PCH_LEVEL >= 1 #if PCH_LEVEL >= 2 diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx index 20baf823cb69..95313e1bbfd4 100644 --- a/cui/source/options/fontsubs.cxx +++ b/cui/source/options/fontsubs.cxx @@ -180,7 +180,7 @@ bool SvxFontSubstTabPage::FillItemSet( SfxItemSet* ) if (m_xFontNameLB->get_active() != -1) sFontName = m_xFontNameLB->get_active_text(); officecfg::Office::Common::Font::SourceViewFont::FontName::set( - boost::optional< OUString >(sFontName), batch); + o3tl::optional< OUString >(sFontName), batch); batch->commit(); return false; diff --git a/cui/source/options/tsaurls.cxx b/cui/source/options/tsaurls.cxx index a010afcd8c3d..6fc5ad50d55d 100644 --- a/cui/source/options/tsaurls.cxx +++ b/cui/source/options/tsaurls.cxx @@ -35,7 +35,7 @@ TSAURLsDialog::TSAURLsDialog(weld::Window* pParent) try { - boost::optional<css::uno::Sequence<OUString>> aUserSetTSAURLs(officecfg::Office::Common::Security::Scripting::TSAURLs::get()); + o3tl::optional<css::uno::Sequence<OUString>> aUserSetTSAURLs(officecfg::Office::Common::Security::Scripting::TSAURLs::get()); if (aUserSetTSAURLs) { const css::uno::Sequence<OUString>& rUserSetTSAURLs = *aUserSetTSAURLs; |