From be029cf8dc82702730d901cf881238763a3ec99b Mon Sep 17 00:00:00 2001 From: Rishabh Kumar Date: Fri, 31 Jul 2015 02:28:28 +0530 Subject: tdf#89466: Slide Background tab Reviewed-on: https://gerrit.libreoffice.org/17007 Tested-by: Jenkins Reviewed-by: Katarina Behrens (cherry picked from commit 93b4bf647a5899f54ef51f8b4bfed0faa66b466e, just the SID_ATTR_PAGE_SIZE part) Change-Id: Ic3ba6b47a1e5fcaeec76c4e4ff0ba6128653af86 --- sd/sdi/_drvwsh.sdi | 5 +++++ sd/source/ui/view/drviews2.cxx | 1 + 2 files changed, 6 insertions(+) diff --git a/sd/sdi/_drvwsh.sdi b/sd/sdi/_drvwsh.sdi index a571051be56d..dcf6a48f108f 100644 --- a/sd/sdi/_drvwsh.sdi +++ b/sd/sdi/_drvwsh.sdi @@ -2700,6 +2700,11 @@ interface DrawView ExecMethod = FuTemporary ; StateMethod = GetMenuState ; ] + SID_ATTR_PAGE_SIZE + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] SID_DISPLAY_MASTER_BACKGROUND [ ExecMethod = FuTemporary ; diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 026021cd7d16..6ff92f8c75a2 100644 --- a/sd/source/ui/view/drviews2.cxx +++ b/sd/source/ui/view/drviews2.cxx @@ -1208,6 +1208,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) case SID_SELECT_BACKGROUND: case SID_SAVE_BACKGROUND: + case SID_ATTR_PAGE_SIZE: case SID_PAGESETUP: // BASIC ?? { SetCurrentFunction( FuPage::Create( this, GetActiveWindow(), mpDrawView, GetDoc(), rReq ) ); -- cgit v1.2.3