diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-05 15:56:54 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-06 17:38:14 +0100 |
commit | cd8b8485b6559a978f58c8c58075eee4a87588bf (patch) | |
tree | cb8c7217270e45825a5025f1805fb6a91944ba85 /sw/source/ui/wrtsh | |
parent | 6aa501e0fe84f975c175a8e8bd0afe2ea5bf3710 (diff) |
Remove dead code
Diffstat (limited to 'sw/source/ui/wrtsh')
-rw-r--r-- | sw/source/ui/wrtsh/wrtsh1.cxx | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/sw/source/ui/wrtsh/wrtsh1.cxx b/sw/source/ui/wrtsh/wrtsh1.cxx index 6c20638e5f67..e4b592e3b6fd 100644 --- a/sw/source/ui/wrtsh/wrtsh1.cxx +++ b/sw/source/ui/wrtsh/wrtsh1.cxx @@ -406,37 +406,8 @@ void SwWrtShell::InsertObject( const svt::EmbeddedObjectRef& xRef, SvGlobalName // TODO/LATER: recording! Convert properties to items case SID_INSERT_PLUGIN: - /* - if(pReq) - { - INetURLObject* pURL = aDlg.GetURL(); - if(pURL) - pReq->AppendItem(SfxStringItem(FN_PARAM_2, pURL->GetMainURL(INetURLObject::NO_DECODE))); - pReq->AppendItem(SfxStringItem(FN_PARAM_3 , aDlg.GetCommands())); - } */ case SID_INSERT_APPLET: - /* - if(pReq) - { - SvAppletObjectRef xApplet ( xIPObj ); - if(xApplet.Is()) - pReq->AppendItem(SfxStringItem(FN_PARAM_1 , xApplet->GetCodeBase())); - pReq->AppendItem(SfxStringItem(FN_PARAM_2 , aDlg.GetClass())); - pReq->AppendItem(SfxStringItem(FN_PARAM_3 , aDlg.GetCommands())); - }*/ case SID_INSERT_FLOATINGFRAME: - /* - if(pReq && xFloatingFrame.Is()) - { - const SfxFrameDescriptor* pDescriptor = xFloatingFrame->GetFrameDescriptor(); - pReq->AppendItem(SfxStringItem(FN_PARAM_1, pDescriptor->GetName())); - pReq->AppendItem( - SfxStringItem( FN_PARAM_2, - pDescriptor->GetURL().GetMainURL(INetURLObject::NO_DECODE))); - pReq->AppendItem(SvxSizeItem(FN_PARAM_3, pDescriptor->GetMargin())); - pReq->AppendItem(SfxByteItem(FN_PARAM_4, pDescriptor->GetScrollingMode())); - pReq->AppendItem(SfxBoolItem(FN_PARAM_5, pDescriptor->HasFrameBorder())); - }*/ { SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); SfxAbstractInsertObjectDialog* pDlg = @@ -492,8 +463,6 @@ void SwWrtShell::InsertObject( const svt::EmbeddedObjectRef& xRef, SvGlobalName pClient->DoVerb( SVVERB_SHOW ); // TODO/LATER: set document name - should be done in Client - //if ( !ERRCODE_TOERROR( nErr ) ) - // xIPObj->SetDocumentName( GetView().GetDocShell()->GetTitle() ); } } } |