summaryrefslogtreecommitdiffstats
path: root/include/svx/colorwindow.hxx
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/colorwindow.hxx
parentreturn by unique_ptr from E3dObject::GetBreakObj (diff)
downloadcore-1a6397030381a45f27ab7a2a02e6e6d0f9987c84.tar.gz
core-1a6397030381a45f27ab7a2a02e6e6d0f9987c84.zip
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/colorwindow.hxx')
-rw-r--r--include/svx/colorwindow.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/svx/colorwindow.hxx b/include/svx/colorwindow.hxx
index 22682a967240..f5de49f7fd9a 100644
--- a/include/svx/colorwindow.hxx
+++ b/include/svx/colorwindow.hxx
@@ -61,15 +61,15 @@ private:
VclPtr<PushButton> mpButtonNoneColor;
VclPtr<PushButton> mpButtonPicker;
VclPtr<FixedLine> mpAutomaticSeparator;
- OUString maCommand;
+ OUString const maCommand;
Link<const NamedColor&, void> maSelectedLink;
VclPtr<vcl::Window> mxParentWindow;
std::shared_ptr<PaletteManager> mxPaletteManager;
BorderColorStatus& mrBorderColorStatus;
- ColorSelectFunction maColorSelectFunction;
- bool mbReuseParentForPicker;
+ ColorSelectFunction const maColorSelectFunction;
+ bool const mbReuseParentForPicker;
DECL_LINK( SelectHdl, ValueSet*, void );
DECL_LINK( SelectPaletteHdl, ListBox&, void);
@@ -115,11 +115,11 @@ private:
std::unique_ptr<weld::Builder> m_xBuilder;
const sal_uInt16 theSlotId;
- weld::Window* mpParentWindow;
+ weld::Window* const mpParentWindow;
weld::MenuButton* mpMenuButton;
std::shared_ptr<PaletteManager> mxPaletteManager;
BorderColorStatus& mrBorderColorStatus;
- ColorSelectFunction maColorSelectFunction;
+ ColorSelectFunction const maColorSelectFunction;
std::unique_ptr<ColorValueSet> mxColorSet;
std::unique_ptr<ColorValueSet> mxRecentColorSet;