summaryrefslogtreecommitdiff
path: root/sw/inc/viscrs.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/inc/viscrs.hxx')
-rw-r--r--sw/inc/viscrs.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sw/inc/viscrs.hxx b/sw/inc/viscrs.hxx
index 6c41fcb61b7e..7866b6335f2a 100644
--- a/sw/inc/viscrs.hxx
+++ b/sw/inc/viscrs.hxx
@@ -26,6 +26,8 @@
#include "swregion.hxx"
#include "swdllapi.h"
+#include <optional>
+
namespace sdr::overlay { class OverlayObject; }
class SwCursorShell;
@@ -61,7 +63,7 @@ public:
void SetPosAndShow(SfxViewShell const * pViewShell);
const vcl::Cursor& GetTextCursor() const;
- OString getLOKPayload(int nType, int nViewId, bool* ignore) const;
+ std::optional<OString> getLOKPayload(int nType, int nViewId) const;
};
// From here classes/methods for selections.
@@ -123,7 +125,7 @@ public:
static void Get1PixelInLogic( const SwViewShell& rSh,
tools::Long* pX = nullptr, tools::Long* pY = nullptr );
- OString getLOKPayload(int nType, int nViewId, bool* ignore) const;
+ std::optional<OString> getLOKPayload(int nType, int nViewId) const;
};
class SW_DLLPUBLIC SwShellCursor : public virtual SwCursor, public SwSelPaintRects