diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-18 15:05:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-20 08:19:48 +0200 |
commit | 0f34e96a5ce68a3039f65cd0f896b33f2d20af5f (patch) | |
tree | 2ea420b96865e6fe69bbbbc1915d3b1ac4c1e808 /include/svx/colorbox.hxx | |
parent | f05b0a6aaf8af5d78f9cad8bb953228cb0ce09f1 (diff) |
return weld widgets by std::unique_ptr from builder
Change-Id: I20c007b13dae2d1155034711ad1ad48bfdfd0ba8
Reviewed-on: https://gerrit.libreoffice.org/59288
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/colorbox.hxx')
-rw-r--r-- | include/svx/colorbox.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/colorbox.hxx b/include/svx/colorbox.hxx index a4aa9de32133..efa949db4081 100644 --- a/include/svx/colorbox.hxx +++ b/include/svx/colorbox.hxx @@ -110,7 +110,7 @@ private: void LockWidthRequest(); ColorWindow* getColorWindow() const; public: - ColorListBox(weld::MenuButton* pControl, weld::Window* pWindow, bool bInterimBuilder = false); + ColorListBox(std::unique_ptr<weld::MenuButton> pControl, weld::Window* pWindow, bool bInterimBuilder = false); ~ColorListBox(); void SetSelectHdl(const Link<ColorListBox&, void>& rLink) |