summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2003-09-19 07:03:49 +0000
committerRüdiger Timm <rt@openoffice.org>2003-09-19 07:03:49 +0000
commitd6add796482765550c632ad2d2ffaec3c36974ab (patch)
tree0505bfb5dad92f5810c0d89ea84090ab62995206 /sfx2
parent23376890c7f324632e0dafbc60ae8ae028976e53 (diff)
INTEGRATION: CWS fwkq1 (1.11.76); FILE MERGED
2003/07/14 18:00:23 mba 1.11.76.1: #110843#: get rid of factories
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/view/orgmgr.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sfx2/source/view/orgmgr.cxx b/sfx2/source/view/orgmgr.cxx
index d53432afade6..04b818480768 100644
--- a/sfx2/source/view/orgmgr.cxx
+++ b/sfx2/source/view/orgmgr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: orgmgr.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: hr $ $Date: 2003-03-27 11:29:23 $
+ * last change: $Author: rt $ $Date: 2003-09-19 08:03:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -336,9 +336,7 @@ SfxObjectShellRef SfxOrganizeMgr::CreateObjectShell( USHORT nIdx )
delete pMed;
if ( pFilter )
{
- pEntry->aDocShell = (SfxObjectShell *)
- ((SfxFactoryFilterContainer*)pFilter->GetFilterContainer())
- ->GetFactory().CreateObject(SFX_CREATE_MODE_ORGANIZER);
+ pEntry->aDocShell = SfxObjectShell::CreateObject( pFilter->GetServiceName(), SFX_CREATE_MODE_ORGANIZER );
}
#if SUPD<583 //(mba)