From 8411b80d46765f1ddd4e37aa634ec963dcf4b04f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 8 Oct 2018 13:07:24 +0200 Subject: 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 --- include/sfx2/dinfdlg.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/sfx2/dinfdlg.hxx') diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx index a4b7e680c6e3..4b3e576df7cd 100644 --- a/include/sfx2/dinfdlg.hxx +++ b/include/sfx2/dinfdlg.hxx @@ -65,7 +65,7 @@ private: OUString m_AutoloadURL; bool m_isAutoloadEnabled; OUString m_DefaultTarget; - OUString m_TemplateName; + OUString const m_TemplateName; OUString m_Author; css::util::DateTime m_CreationDate; OUString m_ModifiedBy; @@ -262,7 +262,7 @@ struct CustomPropertyLine; class CustomPropertiesEdit : public Edit { private: - CustomPropertyLine* m_pLine; + CustomPropertyLine* const m_pLine; public: CustomPropertiesEdit(vcl::Window* pParent, WinBits nStyle, CustomPropertyLine* pLine) @@ -277,7 +277,7 @@ public: class CustomPropertiesTypeBox : public ListBox { private: - CustomPropertyLine* m_pLine; + CustomPropertyLine* const m_pLine; public: CustomPropertiesTypeBox(vcl::Window* pParent, CustomPropertyLine* pLine); @@ -309,7 +309,7 @@ public: class CustomPropertiesDurationField : public Edit { - CustomPropertyLine* m_pLine; + CustomPropertyLine* const m_pLine; css::util::Duration m_aDuration; protected: virtual void RequestHelp(const HelpEvent& rEvt) override; @@ -333,7 +333,7 @@ public: class CustomPropertiesRemoveButton : public ImageButton { private: - CustomPropertyLine* m_pLine; + CustomPropertyLine* const m_pLine; public: CustomPropertiesRemoveButton(vcl::Window* pParent, WinBits nStyle, CustomPropertyLine* pLine) -- cgit