diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-03 11:47:17 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-03 15:14:00 +0200 |
commit | f1ec3c675f1fcb04de564861c24f26b2bac4244c (patch) | |
tree | d324611d26b069d29cb5ca9308a997d6b0f853fa /include/basic/sbstar.hxx | |
parent | 6c8128532e5631702ed426ed664807d6e760e195 (diff) |
loplugin:constmethod in basic
Change-Id: Ib2056ab8437e163c7ae42e3ab7a4a3f8b6cb80a2
Reviewed-on: https://gerrit.libreoffice.org/78547
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/basic/sbstar.hxx')
-rw-r--r-- | include/basic/sbstar.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
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( ); |