summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-08-17 08:40:31 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2022-08-17 09:28:59 +0200
commit0b85a66cc3d8e54747506089f92e154dc7665bfe (patch)
tree8a4a755a6803649e12e018089fc810946a5257f6 /starmath/inc
parent78fb8fe0c5a58bc4d5074de66e77c20c3a441fd3 (diff)
Return std::optional instead of using bool* argument
Change-Id: I47f03411a6677f22291bea4dc06920ab9052349a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138399 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/view.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index 0a18e0084435..3bc3b7cdf461 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -289,7 +289,7 @@ class SmViewShell final : public SfxViewShell
virtual void OuterResizePixel(const Point &rOfs, const Size &rSize) override;
virtual void QueryObjAreaPixel( tools::Rectangle& rRect ) const override;
virtual void SetZoomFactor( const Fraction &rX, const Fraction &rY ) override;
- virtual OString getLOKPayload(int nType, int nViewId, bool* ignore) const override;
+ virtual std::optional<OString> getLOKPayload(int nType, int nViewId) const override;
public: