summaryrefslogtreecommitdiffstats
path: root/sfx2/source/appl/linksrc.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2005-03-15 09:10:17 +0000
committerOliver Bolte <obo@openoffice.org>2005-03-15 09:10:17 +0000
commit0540a120071550facf5f8222b80fcc6a95287240 (patch)
tree386f865d87004bebe6a4ed2e5d46c9720ab25f2b /sfx2/source/appl/linksrc.cxx
parentINTEGRATION: CWS maybeb (1.12.230); FILE MERGED (diff)
downloadcore-0540a120071550facf5f8222b80fcc6a95287240.tar.gz
core-0540a120071550facf5f8222b80fcc6a95287240.zip
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.cxx21
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 );