summaryrefslogtreecommitdiff
path: root/include/sfx2/stbitem.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-08 13:07:24 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-09 08:10:35 +0200
commit8411b80d46765f1ddd4e37aa634ec963dcf4b04f (patch)
treef14a715537b3ff3b583e8232eb989d6468c84fbc /include/sfx2/stbitem.hxx
parent1de7e818a417a412678013c100b4bf73fd8858ac (diff)
loplugin:constfields in sfx2
and we find that bSplitable in SfxDockingWindow is always true, ever since commit 4bd28a2fee0d36c67911019eeb7d934838e27cad Date: Tue Jan 29 15:27:40 2008 +0000 INTEGRATION: CWS fwk82_SRC680 (1.45.138); FILE MERGED so we can remove all of the non-splittable code there. ` Change-Id: Ia7fe607ed02d1a7c69a92bab57e220b19f0e6e87 Reviewed-on: https://gerrit.libreoffice.org/61550 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2/stbitem.hxx')
-rw-r--r--include/sfx2/stbitem.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/sfx2/stbitem.hxx b/include/sfx2/stbitem.hxx
index b72688486e94..5abab5b9f6b3 100644
--- a/include/sfx2/stbitem.hxx
+++ b/include/sfx2/stbitem.hxx
@@ -39,9 +39,9 @@ typedef SfxStatusBarControl* (*SfxStatusBarControlCtor)( sal_uInt16 nSlotId, sal
struct SfxStbCtrlFactory
{
- SfxStatusBarControlCtor pCtor;
+ SfxStatusBarControlCtor const pCtor;
const std::type_info& nTypeId;
- sal_uInt16 nSlotId;
+ sal_uInt16 const nSlotId;
SfxStbCtrlFactory( SfxStatusBarControlCtor pTheCtor,
const std::type_info& nTheTypeId, sal_uInt16 nTheSlotId ):
@@ -58,8 +58,8 @@ class UserDrawEvent;
class SFX2_DLLPUBLIC SfxStatusBarControl: public svt::StatusbarController
{
- sal_uInt16 nSlotId;
- sal_uInt16 nId;
+ sal_uInt16 const nSlotId;
+ sal_uInt16 const nId;
VclPtr<StatusBar> pBar;
protected: