31 return theSwRetrievedInputStreamDataManager;
35 std::weak_ptr< SwAsyncRetrieveInputStreamThreadConsumer >
const & pThreadConsumer )
37 std::unique_lock aGuard(
maMutex);
41 tData aNewEntry( pThreadConsumer );
59 css::uno::Reference<css::io::XInputStream>
const & xInputStream,
60 const bool bIsStreamReadOnly )
62 std::unique_lock aGuard(
maMutex);
70 (*aIter).second.mxInputStream = xInputStream;
71 (*aIter).second.mbIsStreamReadOnly = bIsStreamReadOnly;
91 std::unique_lock aGuard(
maMutex);
93 bool bDataProvided(
false );
105 bDataProvided =
true;
108 return bDataProvided;
130 if ( rDataManager.
PopData( *pDataKey, aInputStreamData ) )
132 std::shared_ptr< SwAsyncRetrieveInputStreamThreadConsumer > pThreadConsumer =
134 if ( pThreadConsumer )
136 pThreadConsumer->ApplyInputStream( aInputStreamData.
mxInputStream,
static ImplSVEvent * PostUserEvent(const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false)
#define LINK(Instance, Class, Member)
VCL_DLLPUBLIC Application * GetpApp()