diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-27 13:51:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-08-27 15:57:17 +0200 |
commit | df905f41a33d0d7d2cde7fad80c5b3dc3c837c10 (patch) | |
tree | 374d73a95196ada089e34dafea9d69746a520a28 /sfx2/source/inc | |
parent | ad4c7b97752b4da73808402604d6f96b39d920f5 (diff) |
loplugin:constmethod in sfx2
Change-Id: Ic129a8e136dc3f3b0a36fdb83e7aa71027ada59a
Reviewed-on: https://gerrit.libreoffice.org/78190
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r-- | sfx2/source/inc/fltoptint.hxx | 2 | ||||
-rw-r--r-- | sfx2/source/inc/workwin.hxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/inc/fltoptint.hxx b/sfx2/source/inc/fltoptint.hxx index 7f26a1399c7e..624ecd073453 100644 --- a/sfx2/source/inc/fltoptint.hxx +++ b/sfx2/source/inc/fltoptint.hxx @@ -45,7 +45,7 @@ public: RequestFilterOptions( css::uno::Reference< css::frame::XModel > const & rModel, const css::uno::Sequence< css::beans::PropertyValue >& rProperties ); - bool isAbort() { return m_xAbort->wasSelected(); } + bool isAbort() const { return m_xAbort->wasSelected(); } css::uno::Sequence< css::beans::PropertyValue > getFilterOptions() { diff --git a/sfx2/source/inc/workwin.hxx b/sfx2/source/inc/workwin.hxx index 159e6ceb0c6c..1b2bfceb9be2 100644 --- a/sfx2/source/inc/workwin.hxx +++ b/sfx2/source/inc/workwin.hxx @@ -223,7 +223,7 @@ class SfxWorkWindow final void Sort_Impl(); SfxChild_Impl* FindChild_Impl( const vcl::Window& rWindow ) const; bool RequestTopToolSpacePixel_Impl( SvBorder aBorder ); - tools::Rectangle GetTopRect_Impl(); + tools::Rectangle GetTopRect_Impl() const; SvBorder Arrange_Impl(); void SaveStatus_Impl(SfxChildWindow*, const SfxChildWinInfo&); static bool IsPluginMode( SfxObjectShell const * pObjShell ); @@ -272,7 +272,7 @@ public: void UpdateObjectBars_Impl2(); void ResetObjectBars_Impl(); void SetObjectBar_Impl(sal_uInt16 nPos, SfxVisibilityFlags nFlags, ToolbarId eId); - bool IsVisible_Impl(); + bool IsVisible_Impl() const; void MakeVisible_Impl( bool ); void Lock_Impl( bool ); |