diff options
author | Radek Doulik <rodo@novell.com> | 2012-12-04 15:58:21 +0100 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2012-12-10 12:09:21 +0100 |
commit | cee6d978a17b3f820f6c7c578a5a57785a10f8f8 (patch) | |
tree | f98d05ff00399e690411f657308da533c62b7dfb /sd | |
parent | 495be57b8238361297f1834c2afbf808f1e55a3d (diff) |
added Change picture menu item to graphic shape popup
Conflicts:
sd/sdi/_drvwsh.sdi
sd/source/ui/app/popup2_tmpl.src
svx/inc/globlmn_tmpl.hrc
svx/inc/svx/svxids.hrc
svx/sdi/svx.sdi
Change-Id: I6e4927b847ca6990990be1075c8371404736e27e
Diffstat (limited to 'sd')
-rw-r--r-- | sd/sdi/_drvwsh.sdi | 5 | ||||
-rw-r--r-- | sd/source/ui/app/popup2_tmpl.src | 1 | ||||
-rw-r--r-- | sd/source/ui/view/drviews8.cxx | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/sd/sdi/_drvwsh.sdi b/sd/sdi/_drvwsh.sdi index 018e7d01f7bc..4dc1d7657840 100644 --- a/sd/sdi/_drvwsh.sdi +++ b/sd/sdi/_drvwsh.sdi @@ -70,6 +70,11 @@ interface DrawView ExecMethod = FuTemporary ; StateMethod = GetMenuState ; ] + SID_CHANGE_PICTURE + [ + ExecMethod = FuTemporary ; + StateMethod = GetMenuState ; + ] SID_SAVEGRAPHIC [ ExecMethod = FuTemporary ; diff --git a/sd/source/ui/app/popup2_tmpl.src b/sd/source/ui/app/popup2_tmpl.src index a1ded7cff714..46297bfc9042 100644 --- a/sd/source/ui/app/popup2_tmpl.src +++ b/sd/source/ui/app/popup2_tmpl.src @@ -659,6 +659,7 @@ MN_STYLEDT SEPARATOR MN_SAVEGRAPHIC + MenuItem { ITEM_CHANGE_PICTURE }; }; }; diff --git a/sd/source/ui/view/drviews8.cxx b/sd/source/ui/view/drviews8.cxx index ea01389da407..f2028252bb66 100644 --- a/sd/source/ui/view/drviews8.cxx +++ b/sd/source/ui/view/drviews8.cxx @@ -162,6 +162,7 @@ void DrawViewShell::FuTemp01(SfxRequest& rReq) } break; + case SID_CHANGE_PICTURE: case SID_INSERT_GRAPHIC: { SetCurrentFunction( FuInsertGraphic::Create( this, GetActiveWindow(), mpDrawView, GetDoc(), rReq ) ); |