diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-03-15 09:10:17 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-03-15 09:10:17 +0000 |
commit | 0540a120071550facf5f8222b80fcc6a95287240 (patch) | |
tree | 386f865d87004bebe6a4ed2e5d46c9720ab25f2b /sfx2/source/appl/linksrc.cxx | |
parent | ea32a292ffdfcc3fd8ccc185e7d2c69ab2f42448 (diff) |
INTEGRATION: CWS maybeb (1.2.134); FILE MERGED
2005/01/24 17:44:05 abi 1.2.134.3: new parameter
2005/01/20 21:51:20 abi 1.2.134.2: RESYNC: (1.2-1.3); FILE MERGED
2004/12/17 14:01:55 abi 1.2.134.1: #i33293# input stream to old position
Diffstat (limited to 'sfx2/source/appl/linksrc.cxx')
-rw-r--r-- | sfx2/source/appl/linksrc.cxx | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/sfx2/source/appl/linksrc.cxx b/sfx2/source/appl/linksrc.cxx index c3dfb0b352b8..efac74ddb014 100644 --- a/sfx2/source/appl/linksrc.cxx +++ b/sfx2/source/appl/linksrc.cxx @@ -2,9 +2,9 @@ * * $RCSfile: linksrc.cxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-01-11 13:27:40 $ + * last change: $Author: obo $ $Date: 2005-03-15 10:10:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -197,6 +197,9 @@ struct SvLinkSource_Impl String aDataMimeType; SvLinkSourceTimer * pTimer; ULONG nTimeout; + com::sun::star::uno::Reference<com::sun::star::io::XInputStream> + m_xInputStreamToLoadFrom; + sal_Bool m_bIsReadOnly; SvLinkSource_Impl() : pTimer( 0 ), nTimeout( 3000 ) {} ~SvLinkSource_Impl(); @@ -219,6 +222,20 @@ SvLinkSource::~SvLinkSource() delete pImpl; } + +SvLinkSource::StreamToLoadFrom SvLinkSource::getStreamToLoadFrom() +{ + return StreamToLoadFrom( + pImpl->m_xInputStreamToLoadFrom, + pImpl->m_bIsReadOnly); +} + +void SvLinkSource::setStreamToLoadFrom(const com::sun::star::uno::Reference<com::sun::star::io::XInputStream>& xInputStream,sal_Bool bIsReadOnly ) +{ + pImpl->m_xInputStreamToLoadFrom = xInputStream; + pImpl->m_bIsReadOnly = bIsReadOnly; +} + void SvLinkSource::Closed() { SvLinkSource_EntryIter_Impl aIter( pImpl->aArr ); |