From 7750df3d615fde25d005fc56a14e4ae4d50b2d6a Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 9 Mar 2018 13:48:20 +0000 Subject: give color picker explicit parent MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I73e9a29abd5d767b31850e9a6b1f2b8d757ee928 Reviewed-on: https://gerrit.libreoffice.org/51000 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svx/source/tbxctrls/PaletteManager.cxx | 4 ++-- svx/source/tbxctrls/tbcontrl.cxx | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'svx') diff --git a/svx/source/tbxctrls/PaletteManager.cxx b/svx/source/tbxctrls/PaletteManager.cxx index 32b3aa11edf6..ddd952cf6cb2 100644 --- a/svx/source/tbxctrls/PaletteManager.cxx +++ b/svx/source/tbxctrls/PaletteManager.cxx @@ -305,11 +305,11 @@ void PaletteManager::SetColorSelectFunction(const std::functionPopupColorPicker(maCommand, GetSelectEntryColor().first); + const css::uno::Reference xParent(mxFrame->getContainerWindow(), uno::UNO_QUERY); + mxPaletteManager->PopupColorPicker(VCLUnoHelper::GetWindow(xParent), maCommand, GetSelectEntryColor().first); } void SvxColorWindow::StartSelection() -- cgit