diff options
Diffstat (limited to 'sw/source/core/crsr/BlockCursor.hxx')
-rw-r--r-- | sw/source/core/crsr/BlockCursor.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/core/crsr/BlockCursor.hxx b/sw/source/core/crsr/BlockCursor.hxx index dfbb71abdce1..28b09e0e84c9 100644 --- a/sw/source/core/crsr/BlockCursor.hxx +++ b/sw/source/core/crsr/BlockCursor.hxx @@ -19,7 +19,7 @@ #ifndef INCLUDED_SW_SOURCE_CORE_CRSR_BLOCKCURSOR_HXX #define INCLUDED_SW_SOURCE_CORE_CRSR_BLOCKCURSOR_HXX -#include <o3tl/optional.hxx> +#include <optional> #include <tools/gen.hxx> #include <viscrs.hxx> @@ -39,8 +39,8 @@ struct SwPosition; class SwBlockCursor { SwShellCursor maCursor; - o3tl::optional<Point> maStartPt; - o3tl::optional<Point> maEndPt; + std::optional<Point> maStartPt; + std::optional<Point> maEndPt; public: SwBlockCursor( const SwCursorShell& rCursorSh, const SwPosition &rPos ) : @@ -69,12 +69,12 @@ public: @return 0, if no start point has been set */ - o3tl::optional<Point> const & getStartPoint() const { return maStartPt; } + std::optional<Point> const & getStartPoint() const { return maStartPt; } /** The document coordinates where the block selection ends (at the moment) @return 0, if no end point has been set */ - o3tl::optional<Point> const & getEndPoint() const { return maEndPt; } + std::optional<Point> const & getEndPoint() const { return maEndPt; } /** Deletion of the mouse created rectangle When start and end points exist, the block cursor depends on this. If the |