diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-01 09:08:12 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-10-03 11:56:43 +0200 |
commit | 4969f4c0d3e2581aaa8a5b5a5769840fa6b6f8ea (patch) | |
tree | eb42ab5be5d8c5ca3d23b686a8781c28822381b4 /sw/source/uibase/inc/olmenu.hxx | |
parent | d5cc52fec12e3c8d1c3561f172d3e1c5434290b3 (diff) |
loplugin:constfields in sw
Change-Id: I1eb6583bb9ec815bc0564b0d7c676f5b1fb9045f
Reviewed-on: https://gerrit.libreoffice.org/61177
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc/olmenu.hxx')
-rw-r--r-- | sw/source/uibase/inc/olmenu.hxx | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sw/source/uibase/inc/olmenu.hxx b/sw/source/uibase/inc/olmenu.hxx index 0f42b7ff05c5..bda8b7ddb3d4 100644 --- a/sw/source/uibase/inc/olmenu.hxx +++ b/sw/source/uibase/inc/olmenu.hxx @@ -76,18 +76,18 @@ class SW_DLLPUBLIC SwSpellPopup { VclBuilder m_aBuilder; VclPtr<PopupMenu> m_xPopupMenu; - sal_uInt16 m_nIgnoreWordId; - sal_uInt16 m_nAddMenuId; - sal_uInt16 m_nAddId; - sal_uInt16 m_nSpellDialogId; - sal_uInt16 m_nCorrectMenuId; - sal_uInt16 m_nCorrectDialogId; - sal_uInt16 m_nLangSelectionMenuId; - sal_uInt16 m_nLangParaMenuId; - sal_uInt16 m_nRedlineAcceptId; - sal_uInt16 m_nRedlineRejectId; - sal_uInt16 m_nRedlineNextId; - sal_uInt16 m_nRedlinePrevId; + sal_uInt16 const m_nIgnoreWordId; + sal_uInt16 const m_nAddMenuId; + sal_uInt16 const m_nAddId; + sal_uInt16 const m_nSpellDialogId; + sal_uInt16 const m_nCorrectMenuId; + sal_uInt16 const m_nCorrectDialogId; + sal_uInt16 const m_nLangSelectionMenuId; + sal_uInt16 const m_nLangParaMenuId; + sal_uInt16 const m_nRedlineAcceptId; + sal_uInt16 const m_nRedlineRejectId; + sal_uInt16 const m_nRedlineNextId; + sal_uInt16 const m_nRedlinePrevId; SwWrtShell* m_pSh; css::uno::Sequence< css::uno::Reference< css::linguistic2::XDictionary > > m_aDics; css::uno::Reference< css::linguistic2::XSpellAlternatives > m_xSpellAlt; @@ -103,8 +103,8 @@ class SW_DLLPUBLIC SwSpellPopup std::map< sal_Int16, OUString > m_aLangTable_Text; std::map< sal_Int16, OUString > m_aLangTable_Paragraph; - OUString m_aDicNameSingle; - bool m_bGrammarResults; // show grammar results? Or show spellcheck results? + OUString m_aDicNameSingle; + bool const m_bGrammarResults; // show grammar results? Or show spellcheck results? static void fillLangPopupMenu( PopupMenu *pPopupMenu, sal_uInt16 nLangStart, const css::uno::Sequence< OUString >& aSeq, SwWrtShell* pWrtSh, |