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/ui/envelp | |
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/ui/envelp')
-rw-r--r-- | sw/source/ui/envelp/labelexp.cxx | 2 | ||||
-rw-r--r-- | sw/source/ui/envelp/labfmt.hxx | 20 |
2 files changed, 11 insertions, 11 deletions
diff --git a/sw/source/ui/envelp/labelexp.cxx b/sw/source/ui/envelp/labelexp.cxx index 115c6b89d83b..cbd8d665271c 100644 --- a/sw/source/ui/envelp/labelexp.cxx +++ b/sw/source/ui/envelp/labelexp.cxx @@ -41,7 +41,7 @@ void SwLabDlg::UpdateFieldInformation(uno::Reference< frame::XModel > const & xM static const struct SwLabItemMap { const char* pName; - OUString SwLabItem:: *pValue; + OUString SwLabItem:: * const pValue; } aArr[] = { { "BC_PRIV_FIRSTNAME" , &SwLabItem::m_aPrivFirstName }, { "BC_PRIV_NAME" , &SwLabItem::m_aPrivName }, diff --git a/sw/source/ui/envelp/labfmt.hxx b/sw/source/ui/envelp/labfmt.hxx index 69cddc7c38e8..5a7258f7e73a 100644 --- a/sw/source/ui/envelp/labfmt.hxx +++ b/sw/source/ui/envelp/labfmt.hxx @@ -29,16 +29,16 @@ class SwLabFormatPage; class SwLabPreview : public weld::CustomWidgetController { - Color m_aGrayColor; - - OUString m_aHDistStr; - OUString m_aVDistStr; - OUString m_aWidthStr; - OUString m_aHeightStr; - OUString m_aLeftStr; - OUString m_aUpperStr; - OUString m_aColsStr; - OUString m_aRowsStr; + Color const m_aGrayColor; + + OUString const m_aHDistStr; + OUString const m_aVDistStr; + OUString const m_aWidthStr; + OUString const m_aHeightStr; + OUString const m_aLeftStr; + OUString const m_aUpperStr; + OUString const m_aColsStr; + OUString const m_aRowsStr; long m_lHDistWidth; long m_lVDistWidth; |