summaryrefslogtreecommitdiff
path: root/include/svx/sidebar
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-01 11:40:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-08 08:03:03 +0200
commit1a6397030381a45f27ab7a2a02e6e6d0f9987c84 (patch)
tree6e342854037b3b845215af09f36407495550254d /include/svx/sidebar
parent781544497a0913037bba160a4cf6b643e5ca1d1a (diff)
loplugin:constfields in svx
Change-Id: I643e8686e015ca85dd96221f1c93038f4fddf27b Reviewed-on: https://gerrit.libreoffice.org/61182 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/sidebar')
-rw-r--r--include/svx/sidebar/LinePropertyPanelBase.hxx2
-rw-r--r--include/svx/sidebar/LineWidthPopup.hxx6
2 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/sidebar/LinePropertyPanelBase.hxx b/include/svx/sidebar/LinePropertyPanelBase.hxx
index 3b54724f0bf1..6d10cca666a0 100644
--- a/include/svx/sidebar/LinePropertyPanelBase.hxx
+++ b/include/svx/sidebar/LinePropertyPanelBase.hxx
@@ -145,7 +145,7 @@ private:
VclPtr<LineWidthPopup> mxLineWidthPopup;
// images from resource
- Image maIMGNone;
+ Image const maIMGNone;
// multi-images
std::unique_ptr<Image[]> mpIMGWidthIcon;
diff --git a/include/svx/sidebar/LineWidthPopup.hxx b/include/svx/sidebar/LineWidthPopup.hxx
index a6b5713ef6f7..e2e45ce102a1 100644
--- a/include/svx/sidebar/LineWidthPopup.hxx
+++ b/include/svx/sidebar/LineWidthPopup.hxx
@@ -45,7 +45,7 @@ public:
private:
LinePropertyPanelBase& m_rParent;
std::array<OUString,9> maStrUnits;
- OUString m_sPt;
+ OUString const m_sPt;
MapUnit m_eMapUnit;
bool m_bVSFocus;
bool m_bCustom;
@@ -53,8 +53,8 @@ private:
VclPtr<MetricField> m_xMFWidth;
VclPtr<VclContainer> m_xBox;
VclPtr<LineWidthValueSet> m_xVSWidth;
- Image m_aIMGCus;
- Image m_aIMGCusGray;
+ Image const m_aIMGCus;
+ Image const m_aIMGCusGray;
DECL_LINK(VSSelectHdl, ValueSet*, void);
DECL_LINK(MFModifyHdl, Edit&, void);