summaryrefslogtreecommitdiff
path: root/include/sfx2/event.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/event.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/event.hxx')
-rw-r--r--include/sfx2/event.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/sfx2/event.hxx b/include/sfx2/event.hxx
index 78d8736bc522..8a797d3379e1 100644
--- a/include/sfx2/event.hxx
+++ b/include/sfx2/event.hxx
@@ -189,9 +189,9 @@ inline std::basic_ostream<charT, traits> & operator <<(
class SFX2_DLLPUBLIC SfxEventHint : public SfxHint
{
- SfxObjectShell* pObjShell;
- OUString aEventName;
- SfxEventHintId nEventId;
+ SfxObjectShell* const pObjShell;
+ OUString const aEventName;
+ SfxEventHintId const nEventId;
public:
SfxEventHint( SfxEventHintId nId, const OUString& aName, SfxObjectShell *pObj )
@@ -234,8 +234,8 @@ class Printer;
class SfxPrintingHint : public SfxViewEventHint
{
- css::view::PrintableState mnPrintableState;
- css::uno::Sequence < css::beans::PropertyValue > aOpts;
+ css::view::PrintableState const mnPrintableState;
+ css::uno::Sequence < css::beans::PropertyValue > const aOpts;
public:
SfxPrintingHint(
css::view::PrintableState nState,