path: root/sd/source/ui/inc/fupage.hxx
diff options
authorAshod Nakashian <>2018-09-12 20:03:11 -0400
committerJan Holesovsky <>2019-06-06 14:33:27 +0200
commit905e6bd3ae0ca5c5ac7083430d7aa126c6526fd7 (patch)
tree65e11c24a7db94ddd3f5e520777c94eeb830ca74 /sd/source/ui/inc/fupage.hxx
parentfd95fb975b754d71d3750e85431a4e596a40e659 (diff)
sd: support inserting background image from file via .uno:SelectBackground
The UNO command always prompted the user via file open dialog. This change allows for passing the filename as an argument to allow for inserting slide background programatically. Also, hide the Insert Image button in the sidebar since we can't use that (just yet), because it invokes .uno:SelectBackground directly. We would need to send LOOL a notification to invoke this on its own end to first prompt the user for a file. (cherry picked from commit 2118143bdd246921439ba9e835207585203dd45f) Change-Id: I20c0e33d66f8bcd72a6388e39c4ac92e64978f45 Reviewed-on: Tested-by: Jenkins Reviewed-by: Jan Holesovsky <>
Diffstat (limited to 'sd/source/ui/inc/fupage.hxx')
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/inc/fupage.hxx b/sd/source/ui/inc/fupage.hxx
index a33277d9fa3e..a17ce7b1adc5 100644
--- a/sd/source/ui/inc/fupage.hxx
+++ b/sd/source/ui/inc/fupage.hxx
@@ -42,7 +42,7 @@ class FuPage
virtual void Activate() override;
virtual void Deactivate() override;
- const SfxItemSet* ExecuteDialog(weld::Window* pParent);
+ const SfxItemSet* ExecuteDialog(weld::Window* pParent, SfxRequest& rReq);
virtual ~FuPage() override;