diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-11-09 13:32:24 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-11-09 21:32:33 +0100 |
commit | ff89d2216a26a57e0682f6a80e5eade6dabd499a (patch) | |
tree | bdad67241b3972d533f988089451f9f0e8809661 /include/svx/colorwindow.hxx | |
parent | 6dc1087b37a9ce5bc9b728d6a23fef69a66bb3d2 (diff) |
Resolves: tdf#113695 crash in color picker after parent is closed
Change-Id: If2217abed784bf24e37e3403fa33cd2663dc51a4
Reviewed-on: https://gerrit.libreoffice.org/44545
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svx/colorwindow.hxx')
-rw-r--r-- | include/svx/colorwindow.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/colorwindow.hxx b/include/svx/colorwindow.hxx index a782307df9fa..467acf31aaae 100644 --- a/include/svx/colorwindow.hxx +++ b/include/svx/colorwindow.hxx @@ -64,7 +64,7 @@ private: OUString maCommand; Link<const NamedColor&, void> maSelectedLink; - PaletteManager& mrPaletteManager; + std::shared_ptr<PaletteManager> mxPaletteManager; BorderColorStatus& mrBorderColorStatus; ColorSelectFunction maColorSelectFunction; @@ -80,7 +80,7 @@ private: public: SvxColorWindow(const OUString& rCommand, - PaletteManager& rPaletteManager, + std::shared_ptr<PaletteManager>& rPaletteManager, BorderColorStatus& rBorderColorStatus, sal_uInt16 nSlotId, const css::uno::Reference< css::frame::XFrame >& rFrame, |