diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2009-11-25 09:34:02 +0100 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2009-11-25 09:34:02 +0100 |
commit | 8f285df32df738b54e572b2e5918ba8217bbebbf (patch) | |
tree | 7585e9df81018781345e5af80b782a57309366e9 /sfx2/inc/frmload.hxx | |
parent | 4f36183eb9be25a723afee4b4e2b4555591ee903 (diff) |
[CWS autorecovery] #i65597# moved creation of new documents from application to loader
The loader was the only client of the respective application code, and needs to have better
control over the document creation process.
In the course of this move, some dead/duplicate/obsolete code has been removed.
Diffstat (limited to 'sfx2/inc/frmload.hxx')
-rw-r--r-- | sfx2/inc/frmload.hxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/sfx2/inc/frmload.hxx b/sfx2/inc/frmload.hxx index 4d6207bcb22f..93a960443d9f 100644 --- a/sfx2/inc/frmload.hxx +++ b/sfx2/inc/frmload.hxx @@ -56,7 +56,7 @@ class SfxFilter; class SfxFilterMatcher; -class SfxFrame; +class SfxTopFrame; #include <sfx2/sfxuno.hxx> @@ -95,24 +95,25 @@ private: sal_Bool impl_createNewDocWithSlotParam( const USHORT _nSlotID, - SfxFrame& i_rFrame + SfxTopFrame& i_rFrame ); sal_Bool impl_createNewDoc( const ::comphelper::NamedValueCollection& i_rDescriptor, - SfxFrame& i_rFrame, - const ::rtl::OUString& _rFactoryURL + SfxTopFrame& i_rFrame, + const ::rtl::OUString& _rFactoryName ); - void impl_ensureValidFrame_throw( const SfxFrame* _pFrame ); + void impl_ensureValidFrame_throw( const SfxTopFrame* _pFrame ); const SfxFilter* impl_determineFilter( - ::comphelper::NamedValueCollection& io_rDescriptor, + ::comphelper::NamedValueCollection& io_rDescriptor, const SfxFilterMatcher& rMatcher ); SfxAllItemSet impl_getInitialItemSet( - const ::comphelper::NamedValueCollection& i_rDescriptor + const ::comphelper::NamedValueCollection& i_rDescriptor, + SfxTopFrame& i_rTargetFrame ) const; sal_Bool impl_loadExistingDocument( |