diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-13 13:08:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-09-14 11:40:32 +0200 |
commit | 59887868da3499c68d5f259cfa48178354397448 (patch) | |
tree | fea3595f08d0a2ff07070c34bc2b94bbb7a446e1 /include/vcl/builder.hxx | |
parent | loplugin:useuniqueptr in SwSubFont::DoOnCapitals (diff) | |
download | core-59887868da3499c68d5f259cfa48178354397448.tar.gz core-59887868da3499c68d5f259cfa48178354397448.zip |
loplugin:constfields in vcl
Change-Id: I1072642be4fdfa720e61f2d7bad3c2701eb81610
Reviewed-on: https://gerrit.libreoffice.org/60430
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/builder.hxx')
-rw-r--r-- | include/vcl/builder.hxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx index 25380a6ec5af..0ae018a601dc 100644 --- a/include/vcl/builder.hxx +++ b/include/vcl/builder.hxx @@ -148,7 +148,7 @@ private: struct MenuAndId { - OString m_sID; + OString const m_sID; VclPtr<PopupMenu> m_pMenu; MenuAndId(const OString &rId, PopupMenu *pMenu); ~MenuAndId(); @@ -157,8 +157,8 @@ private: struct StringPair { - OString m_sID; - OString m_sValue; + OString const m_sID; + OString const m_sValue; StringPair(const OString &rId, const OString &rValue) : m_sID(rId) , m_sValue(rValue) @@ -181,9 +181,9 @@ private: struct ButtonImageWidgetMap { - OString m_sID; - OUString m_sValue; - bool m_bRadio; + OString const m_sID; + OUString const m_sValue; + bool const m_bRadio; ButtonImageWidgetMap(const OString &rId, const OUString &rValue, bool bRadio) : m_sID(rId) , m_sValue(rValue) @@ -199,9 +199,9 @@ private: struct ComboBoxModelMap { - OString m_sID; - OUString m_sValue; - sal_Int32 m_nActiveId; + OString const m_sID; + OUString const m_sValue; + sal_Int32 const m_nActiveId; ComboBoxModelMap(const OString &rId, const OUString &rValue, sal_Int32 nActiveId) : m_sID(rId) , m_sValue(rValue) @@ -297,12 +297,12 @@ private: OString m_sID; OString m_sHelpRoot; - ResHookProc m_pStringReplace; + ResHookProc const m_pStringReplace; VclPtr<vcl::Window> m_pParent; bool m_bToplevelHasDeferredInit; bool m_bToplevelHasDeferredProperties; bool m_bToplevelParentFound; - bool m_bLegacy; + bool const m_bLegacy; std::unique_ptr<ParserState> m_pParserState; vcl::Window *get_by_name(const OString& sID); @@ -317,7 +317,7 @@ private: bool operator()(const vcl::Window *pA, const vcl::Window *pB) const; private: - VclBuilder *m_pBuilder; + VclBuilder * const m_pBuilder; }; /// XFrame to be able to extract labels and other properties of the UNO commands (like of .uno:Bold). |