summaryrefslogtreecommitdiff
path: root/include/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-25 10:22:25 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-25 10:22:25 +0200
commit7c9d8afd913c17100aa4185e3b044137f225c81f (patch)
tree4ab579f9e749884411c1545c6b5e6d65f2541d52 /include/unotools
parentf52f074a4d21be494a05ff9391b0206840f49c8c (diff)
Revert "make UcbStreamHelper return SvStream by std::unique_ptr"
This reverts commit eeefb8c440b514cefdc4e82cc06843da9eabeb13. this was pushed in error
Diffstat (limited to 'include/unotools')
-rw-r--r--include/unotools/ucbstreamhelper.hxx15
1 files changed, 7 insertions, 8 deletions
diff --git a/include/unotools/ucbstreamhelper.hxx b/include/unotools/ucbstreamhelper.hxx
index d89048500bcd..68309d094acf 100644
--- a/include/unotools/ucbstreamhelper.hxx
+++ b/include/unotools/ucbstreamhelper.hxx
@@ -25,7 +25,6 @@
#include <unotools/unotoolsdllapi.h>
#include <tools/stream.hxx>
-#include <memory>
namespace com
{
@@ -53,13 +52,13 @@ namespace utl
class UNOTOOLS_DLLPUBLIC UcbStreamHelper
{
public:
- static std::unique_ptr<SvStream> CreateStream( const OUString& rFileName, StreamMode eOpenMode );
- static std::unique_ptr<SvStream> CreateStream( const OUString& rFileName, StreamMode eOpenMode,
- bool bFileExists );
- static std::unique_ptr<SvStream> CreateStream( const css::uno::Reference < css::io::XInputStream >& xStream );
- static std::unique_ptr<SvStream> CreateStream( const css::uno::Reference < css::io::XStream >& xStream );
- static std::unique_ptr<SvStream> CreateStream( const css::uno::Reference < css::io::XInputStream >& xStream, bool bCloseStream );
- static std::unique_ptr<SvStream> CreateStream( const css::uno::Reference < css::io::XStream >& xStream, bool bCloseStream );
+ static SvStream* CreateStream( const OUString& rFileName, StreamMode eOpenMode );
+ static SvStream* CreateStream( const OUString& rFileName, StreamMode eOpenMode,
+ bool bFileExists );
+ static SvStream* CreateStream( const css::uno::Reference < css::io::XInputStream >& xStream );
+ static SvStream* CreateStream( const css::uno::Reference < css::io::XStream >& xStream );
+ static SvStream* CreateStream( const css::uno::Reference < css::io::XInputStream >& xStream, bool bCloseStream );
+ static SvStream* CreateStream( const css::uno::Reference < css::io::XStream >& xStream, bool bCloseStream );
};
}