diff options
author | Rüdiger Timm <rt@openoffice.org> | 2006-05-02 15:17:04 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2006-05-02 15:17:04 +0000 |
commit | ced10b79dba1c197907d96989a6a1946fbbbb415 (patch) | |
tree | f1c14bf8e6498b9b5efc63fc68493919ac24bc83 /sfx2/source/appl/appopen.cxx | |
parent | 1d16d315343035a575f30a294dc0c2eff7f6bc41 (diff) |
INTEGRATION: CWS sfxcleanup (1.103.10); FILE MERGED
2006/03/04 13:02:50 mba 1.103.10.4: #132394#: remove superfluous code
2006/02/27 08:57:30 mba 1.103.10.3: #132394#: remove superfluous code
2006/02/26 17:09:51 mba 1.103.10.2: #132394#: remove superfluous code
2006/02/24 23:08:54 mba 1.103.10.1: #132394#: remove obviously superfluous members and methods from SfxApplication
Diffstat (limited to 'sfx2/source/appl/appopen.cxx')
-rw-r--r-- | sfx2/source/appl/appopen.cxx | 35 |
1 files changed, 3 insertions, 32 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx index 42cd0126be74..b47aecf899c5 100644 --- a/sfx2/source/appl/appopen.cxx +++ b/sfx2/source/appl/appopen.cxx @@ -4,9 +4,9 @@ * * $RCSfile: appopen.cxx,v $ * - * $Revision: 1.103 $ + * $Revision: 1.104 $ * - * last change: $Author: rt $ $Date: 2006-02-09 14:06:20 $ + * last change: $Author: rt $ $Date: 2006-05-02 16:17:04 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -153,6 +153,7 @@ #endif #include <svtools/extendedsecurityoptions.hxx> #include <svtools/docpasswdrequest.hxx> +#include <vcl/svapp.hxx> #include <vos/mutex.hxx> @@ -163,7 +164,6 @@ #endif #include "app.hxx" -#include "appdata.hxx" #include "bindings.hxx" #include "dispatch.hxx" #include "docfile.hxx" @@ -181,7 +181,6 @@ #include "viewsh.hxx" #include "app.hrc" #include "topfrm.hxx" -#include "appimp.hxx" #include "sfxuno.hxx" #include "objface.hxx" #include "filedlghelper.hxx" @@ -666,32 +665,6 @@ SfxMediumList* SfxApplication::InsertDocumentsDialog } //-------------------------------------------------------------------- - -void SfxApplication::NewFramesetExec_Impl( SfxRequest& rReq ) -{ - DBG_MEMTEST(); -/* - // Factory-RegNo kann per Parameter angegeben sein - SfxErrorContext aEc(ERRCTX_SFX_NEWDOCDIRECT); - - SfxFrameSetObjectShell *pDoc = - new SfxFrameSetObjectShell( SFX_CREATE_MODE_STANDARD ); - SfxObjectShellRef xDoc(pDoc); - pDoc->Initialize( String() ); - xDoc->SetActivateEvent_Impl( SFX_EVENT_CREATEDOC ); - - SFX_REQUEST_ARG(rReq, pFrameItem, SfxFrameItem, - SID_DOCFRAME, FALSE); - if ( pFrameItem && pFrameItem->GetFrame() ) - pFrameItem->GetFrame()->InsertDocument( pDoc ); - else - CreateView_Impl( rReq, pDoc, TRUE ); - - GetAppDispatcher_Impl()->Execute( SID_EDIT_FRAMESET ); - */ -} - -//-------------------------------------------------------------------- SfxObjectShellLock SfxApplication::NewDoc_Impl( const String& rFact, const SfxItemSet *pSet ) { SfxObjectShellLock xDoc; @@ -977,8 +950,6 @@ void SfxApplication::NewDocExec_Impl( SfxRequest& rReq ) else { SfxCallMode eMode = SFX_CALLMODE_SYNCHRON; - if ( IsPlugin() ) - eMode = SFX_CALLMODE_ASYNCHRON; const SfxPoolItem *pRet=0; SfxStringItem aReferer( SID_REFERER, DEFINE_CONST_UNICODE("private:user") ); |