summaryrefslogtreecommitdiff
path: root/sfx2/inc/frmload.hxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-11-26 11:18:19 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2009-11-26 11:18:19 +0100
commitabf0898b5d08697673f29532502bf4bee171cca7 (patch)
tree0c808a0697ea1e6d4fa7cf85ba6f4d91feb3f949 /sfx2/inc/frmload.hxx
parent5f37fa34fd0e03c58fe3b0be04c4faf9e6a922cf (diff)
[CWS autorecovery] further streamlined the SFX frame loader's load method
Diffstat (limited to 'sfx2/inc/frmload.hxx')
-rw-r--r--sfx2/inc/frmload.hxx18
1 files changed, 7 insertions, 11 deletions
diff --git a/sfx2/inc/frmload.hxx b/sfx2/inc/frmload.hxx
index 93a960443d9f..089315d0c1c5 100644
--- a/sfx2/inc/frmload.hxx
+++ b/sfx2/inc/frmload.hxx
@@ -95,25 +95,21 @@ private:
sal_Bool impl_createNewDocWithSlotParam(
const USHORT _nSlotID,
- SfxTopFrame& i_rFrame
+ const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& i_rxFrame
);
sal_Bool impl_createNewDoc(
const ::comphelper::NamedValueCollection& i_rDescriptor,
- SfxTopFrame& i_rFrame,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& i_rxFrame,
const ::rtl::OUString& _rFactoryName
);
- void impl_ensureValidFrame_throw( const SfxTopFrame* _pFrame );
-
- const SfxFilter* impl_determineFilter(
- ::comphelper::NamedValueCollection& io_rDescriptor,
- const SfxFilterMatcher& rMatcher
+ void impl_determineFilter(
+ ::comphelper::NamedValueCollection& io_rDescriptor
);
SfxAllItemSet impl_getInitialItemSet(
- const ::comphelper::NamedValueCollection& i_rDescriptor,
- SfxTopFrame& i_rTargetFrame
+ const ::comphelper::NamedValueCollection& i_rDescriptor
) const;
sal_Bool impl_loadExistingDocument(
@@ -127,12 +123,12 @@ private:
const SfxFrameWeak& i_wFrame
);
- const SfxFilter* impl_determineTemplateDocument(
+ bool impl_determineTemplateDocument(
::comphelper::NamedValueCollection& io_rDescriptor
) const;
USHORT impl_findSlotParam(
- ::rtl::OUString& io_rFactoryURL
+ const ::rtl::OUString& i_rFactoryURL
);
};