summaryrefslogtreecommitdiff
path: root/include/vcl/event.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/event.hxx')
-rw-r--r--include/vcl/event.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/event.hxx b/include/vcl/event.hxx
index 9173ce0e7d00..ef87d7728f6d 100644
--- a/include/vcl/event.hxx
+++ b/include/vcl/event.hxx
@@ -127,7 +127,7 @@ public:
maLogicPosition = aLogicPosition;
}
- std::optional<Point> getLogicPosition() const
+ const std::optional<Point> & getLogicPosition() const
{
return maLogicPosition;
}