summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuinsert.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-07-10 18:21:24 +0200
committerMathias Bauer <mba@openoffice.org>2010-07-10 18:21:24 +0200
commite2280d56bfd8f963b4caea5b200a83be8664d5a3 (patch)
treeae636225330f808d1b793f17d2fcc07aa1a90e68 /sd/source/ui/func/fuinsert.cxx
parent603694c8c2f44ca225bf373fa1c2d977047c4f70 (diff)
CWS changehid: #i111874#: change code to support HelpIds as byte strings
Diffstat (limited to 'sd/source/ui/func/fuinsert.cxx')
-rw-r--r--sd/source/ui/func/fuinsert.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sd/source/ui/func/fuinsert.cxx b/sd/source/ui/func/fuinsert.cxx
index 931ff3a10cb8..d28ac5afc1b8 100644
--- a/sd/source/ui/func/fuinsert.cxx
+++ b/sd/source/ui/func/fuinsert.cxx
@@ -42,7 +42,7 @@
#include <tools/urlobj.hxx>
#include <svl/urihelper.hxx>
-
+#include <sfx2/msgpool.hxx>
#include <svtools/sores.hxx>
#include <svtools/insdlg.hxx>
#include <sfx2/request.hxx>
@@ -431,12 +431,11 @@ void FuInsertOLE::DoExecute( SfxRequest& rReq )
// intentionally no break!
}
case SID_INSERT_PLUGIN :
- case SID_INSERT_APPLET :
case SID_INSERT_FLOATINGFRAME :
{
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
SfxAbstractInsertObjectDialog* pDlg =
- pFact->CreateInsertObjectDialog( mpViewShell->GetActiveWindow(), nSlotId,
+ pFact->CreateInsertObjectDialog( mpViewShell->GetActiveWindow(), SD_MOD()->GetSlotPool()->GetSlot(nSlotId)->GetCommandString(),
xStorage, &aServerLst );
if ( pDlg )
{