summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-03-09 13:48:20 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-03-09 17:03:42 +0100
commit7750df3d615fde25d005fc56a14e4ae4d50b2d6a (patch)
treec6ed5594a91cef23b922957c7dee3d4d57367618 /include
parentcf42f0916d1f30d8939de15bff626cabb6836d35 (diff)
give color picker explicit parent
Change-Id: I73e9a29abd5d767b31850e9a6b1f2b8d757ee928 Reviewed-on: https://gerrit.libreoffice.org/51000 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/svtools/toolbarmenu.hxx2
-rw-r--r--include/svx/PaletteManager.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/svtools/toolbarmenu.hxx b/include/svtools/toolbarmenu.hxx
index 88174253548a..5372c719892e 100644
--- a/include/svtools/toolbarmenu.hxx
+++ b/include/svtools/toolbarmenu.hxx
@@ -66,10 +66,10 @@ protected:
/// @throws css::uno::RuntimeException
virtual void statusChanged(const css::frame::FeatureStateEvent& Event );
+ css::uno::Reference< css::frame::XFrame > mxFrame;
private:
void init();
- css::uno::Reference< css::frame::XFrame > mxFrame;
rtl::Reference< svt::FrameStatusListener > mxStatusListener;
};
diff --git a/include/svx/PaletteManager.hxx b/include/svx/PaletteManager.hxx
index 3cd11df51b22..c2a3b869d517 100644
--- a/include/svx/PaletteManager.hxx
+++ b/include/svx/PaletteManager.hxx
@@ -73,7 +73,7 @@ public:
void AddRecentColor(const Color& rRecentColor, const OUString& rColorName, bool bFront = true);
void SetBtnUpdater(svx::ToolboxButtonColorUpdater* pBtnUpdater);
- void PopupColorPicker(const OUString& aCommand, const Color& rInitialColor);
+ void PopupColorPicker(vcl::Window* pParent, const OUString& aCommand, const Color& rInitialColor);
void SetColorSelectFunction(const std::function<void(const OUString&, const NamedColor&)>& aColorSelectFunction);