summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/fupage.hxx
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2018-09-12 20:03:11 -0400
committerJan Holesovsky <kendy@collabora.com>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: https://gerrit.libreoffice.org/73481 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'sd/source/ui/inc/fupage.hxx')
-rw-r--r--sd/source/ui/inc/fupage.hxx2
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);
protected:
virtual ~FuPage() override;