diff options
Diffstat (limited to 'sw/inc/fmtpdsc.hxx')
-rw-r--r-- | sw/inc/fmtpdsc.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/fmtpdsc.hxx b/sw/inc/fmtpdsc.hxx index 4b99ccb3ad72..1db805950fed 100644 --- a/sw/inc/fmtpdsc.hxx +++ b/sw/inc/fmtpdsc.hxx @@ -24,7 +24,7 @@ #include "hintids.hxx" #include "format.hxx" #include "calbck.hxx" -#include <boost/optional.hpp> +#include <o3tl/optional.hxx> #include "pagedesc.hxx" class IntlWrapper; @@ -34,7 +34,7 @@ class IntlWrapper; class SW_DLLPUBLIC SwFormatPageDesc : public SfxPoolItem, public SwClient { - ::boost::optional<sal_uInt16> m_oNumOffset; ///< Offset page number. + ::o3tl::optional<sal_uInt16> m_oNumOffset; ///< Offset page number. SwModify* m_pDefinedIn; /**< Points to the object in which the attribute was set (ContentNode/Format). */ protected: @@ -62,8 +62,8 @@ public: SwPageDesc *GetPageDesc() { return static_cast<SwPageDesc*>(GetRegisteredIn()); } const SwPageDesc *GetPageDesc() const { return static_cast<const SwPageDesc*>(GetRegisteredIn()); } - const ::boost::optional<sal_uInt16>& GetNumOffset() const { return m_oNumOffset; } - void SetNumOffset( const ::boost::optional<sal_uInt16>& oNum ) { m_oNumOffset = oNum; } + const ::o3tl::optional<sal_uInt16>& GetNumOffset() const { return m_oNumOffset; } + void SetNumOffset( const ::o3tl::optional<sal_uInt16>& oNum ) { m_oNumOffset = oNum; } /// Query / set where attribute is anchored. const SwModify* GetDefinedIn() const { return m_pDefinedIn; } |