summaryrefslogtreecommitdiff
path: root/unotools/inc/unotools/ucbstreamhelper.hxx
diff options
context:
space:
mode:
authorSander Vesik <svesik@openoffice.org>2004-04-21 11:28:35 +0000
committerSander Vesik <svesik@openoffice.org>2004-04-21 11:28:35 +0000
commit93e4e91b21db0d3ed29a34f0de535c6775826337 (patch)
tree7c6bb81b70e4f31f8c55b42cd87df0a4a3bafdfd /unotools/inc/unotools/ucbstreamhelper.hxx
parent4e385dc4a9e857375a45bd95a512c3ad769a0005 (diff)
INTEGRATION: CWS loadenv01 (1.3.142); FILE MERGED
2004/03/15 10:45:31 mba 1.3.142.1: #115936#: allow loading through XStream in MediaDescriptor
Diffstat (limited to 'unotools/inc/unotools/ucbstreamhelper.hxx')
-rw-r--r--unotools/inc/unotools/ucbstreamhelper.hxx10
1 files changed, 7 insertions, 3 deletions
diff --git a/unotools/inc/unotools/ucbstreamhelper.hxx b/unotools/inc/unotools/ucbstreamhelper.hxx
index d05e4aa2f231..26d11b164fd6 100644
--- a/unotools/inc/unotools/ucbstreamhelper.hxx
+++ b/unotools/inc/unotools/ucbstreamhelper.hxx
@@ -4,9 +4,7 @@
#ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_
#include <com/sun/star/uno/Reference.hxx>
#endif
-#ifndef _COM_SUN_STAR_IO_XINPUTSTREAM_HPP_
-#include <com/sun/star/io/XInputStream.hpp>
-#endif
+
#include <tools/stream.hxx>
namespace com
@@ -19,6 +17,11 @@ namespace com
{
class XInteractionHandler;
}
+ namespace io
+ {
+ class XStream;
+ class XInputStream;
+ }
}
}
};
@@ -41,6 +44,7 @@ namespace utl
NS_UNO::Reference < NS_TASK::XInteractionHandler >,
UcbLockBytesHandler* pHandler=0, sal_Bool bForceSynchron=sal_True );
static SvStream* CreateStream( NS_UNO::Reference < NS_IO::XInputStream > xStream );
+ static SvStream* CreateStream( NS_UNO::Reference < NS_IO::XStream > xStream );
};
};