summaryrefslogtreecommitdiff
path: root/include/svx/colorwindow.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/colorwindow.hxx')
-rw-r--r--include/svx/colorwindow.hxx4
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,