include/sfx2/lokcomponenthelpers.hxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a09c5c69e3b5fbf448cae1d6c476f39067e40023
Author:     Mike Kaganski <mike.kagan...@collabora.com>
AuthorDate: Fri Oct 14 07:40:28 2022 +0300
Commit:     Mike Kaganski <mike.kagan...@collabora.com>
CommitDate: Fri Oct 14 07:37:27 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 <mike.kagan...@collabora.com>

diff --git a/include/sfx2/lokcomponenthelpers.hxx 
b/include/sfx2/lokcomponenthelpers.hxx
index 02e8750ca381..ea81ea8f87c1 100644
--- a/include/sfx2/lokcomponenthelpers.hxx
+++ b/include/sfx2/lokcomponenthelpers.hxx
@@ -66,7 +66,7 @@ public:
 class SFX2_DLLPUBLIC LokStarMathHelper
 {
 public:
-    LokStarMathHelper(SfxViewShell* pViewShell)
+    LokStarMathHelper(const SfxViewShell* pViewShell)
         : mpViewShell(pViewShell)
     {
     }
@@ -83,7 +83,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;

Reply via email to