From f1ec3c675f1fcb04de564861c24f26b2bac4244c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 3 Sep 2019 11:47:17 +0200 Subject: loplugin:constmethod in basic Change-Id: Ib2056ab8437e163c7ae42e3ab7a4a3f8b6cb80a2 Reviewed-on: https://gerrit.libreoffice.org/78547 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/basic/sbstar.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/basic/sbstar.hxx') diff --git a/include/basic/sbstar.hxx b/include/basic/sbstar.hxx index 9275701137be..7ff6a138123e 100644 --- a/include/basic/sbstar.hxx +++ b/include/basic/sbstar.hxx @@ -139,14 +139,14 @@ public: static SbMethod* GetActiveMethod( sal_uInt16 nLevel = 0 ); static SbModule* GetActiveModule(); void SetVBAEnabled( bool bEnabled ); - bool isVBAEnabled(); + bool isVBAEnabled() const; - const SbxObjectRef& getRTL() { return pRtl; } - bool IsDocBasic() { return bDocBasic; } + const SbxObjectRef& getRTL() const { return pRtl; } + bool IsDocBasic() const { return bDocBasic; } SbxVariable* VBAFind( const OUString& rName, SbxClassType t ); bool GetUNOConstant( const OUString& rName, css::uno::Any& aOut ); void QuitAndExitApplication(); - bool IsQuitApplication() { return bQuit; }; + bool IsQuitApplication() const { return bQuit; }; SbxObject* getVBAGlobals( ); -- cgit