diff options
Diffstat (limited to 'editeng/inc')
-rw-r--r-- | editeng/inc/editattr.hxx | 10 | ||||
-rw-r--r-- | editeng/inc/pch/precompiled_editeng.hxx | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/editeng/inc/editattr.hxx b/editeng/inc/editattr.hxx index 2b74427f6619..99faa6ecaf9d 100644 --- a/editeng/inc/editattr.hxx +++ b/editeng/inc/editattr.hxx @@ -22,7 +22,7 @@ #include <editeng/eeitem.hxx> #include <svl/poolitem.hxx> -#include <boost/optional.hpp> +#include <o3tl/optional.hxx> #include <tools/color.hxx> #include <tools/debug.hxx> @@ -364,8 +364,8 @@ public: class EditCharAttribField: public EditCharAttrib { OUString aFieldValue; - boost::optional<Color> mxTxtColor; - boost::optional<Color> mxFldColor; + o3tl::optional<Color> mxTxtColor; + o3tl::optional<Color> mxFldColor; EditCharAttribField& operator = ( const EditCharAttribField& rAttr ) = delete; @@ -379,8 +379,8 @@ public: { return !(operator == ( rAttr ) ); } virtual void SetFont( SvxFont& rFont, OutputDevice* pOutDev ) override; - boost::optional<Color>& GetTextColor() { return mxTxtColor; } - boost::optional<Color>& GetFieldColor() { return mxFldColor; } + o3tl::optional<Color>& GetTextColor() { return mxTxtColor; } + o3tl::optional<Color>& GetFieldColor() { return mxFldColor; } const OUString& GetFieldValue() const { return aFieldValue;} void SetFieldValue(const OUString& rVal); diff --git a/editeng/inc/pch/precompiled_editeng.hxx b/editeng/inc/pch/precompiled_editeng.hxx index fb6950330079..391feb2b9a66 100644 --- a/editeng/inc/pch/precompiled_editeng.hxx +++ b/editeng/inc/pch/precompiled_editeng.hxx @@ -49,7 +49,7 @@ #include <unordered_map> #include <utility> #include <vector> -#include <boost/optional.hpp> +#include <o3tl/optional.hxx> #endif // PCH_LEVEL >= 1 #if PCH_LEVEL >= 2 #include <osl/diagnose.h> |