include/sfx2/lokcomponenthelpers.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 0d3b5ebefb77ebb5738467a1a72d0cc2605403ed Author: Mike Kaganski <[email protected]> AuthorDate: Fri Oct 14 07:40:28 2022 +0300 Commit: Mike Kaganski <[email protected]> CommitDate: Wed Oct 19 06:23:42 2022 +0200 This can be const Change-Id: I5e0cb22c9276e41b0a42978a253456ebd9ebefa4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141356 Tested-by: Jenkins Reviewed-by: Mike Kaganski <[email protected]> (cherry picked from commit 934584439de8331ad7c0af13c17e6892df1d1367) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141316 Tested-by: Jenkins CollaboraOffice <[email protected]> diff --git a/include/sfx2/lokcomponenthelpers.hxx b/include/sfx2/lokcomponenthelpers.hxx index de36cd2ccd43..5f9f5d45d091 100644 --- a/include/sfx2/lokcomponenthelpers.hxx +++ b/include/sfx2/lokcomponenthelpers.hxx @@ -67,7 +67,7 @@ public: class SFX2_DLLPUBLIC LokStarMathHelper { public: - LokStarMathHelper(SfxViewShell* pViewShell) + LokStarMathHelper(const SfxViewShell* pViewShell) : mpViewShell(pViewShell) { } @@ -84,7 +84,7 @@ private: css::uno::Reference<css::frame::XController>& GetXController(); tools::Rectangle GetBoundingBox(); - SfxViewShell* mpViewShell; + const SfxViewShell* mpViewShell; css::uno::Reference<css::frame::XController> mxController; VclPtr<vcl::Window> mpGraphicWindow; VclPtr<vcl::Window> mpWidgetWindow;
