diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/unotools/ucbstreamhelper.hxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/unotools/ucbstreamhelper.hxx b/include/unotools/ucbstreamhelper.hxx index 69bae538b316..3c8868c03911 100644 --- a/include/unotools/ucbstreamhelper.hxx +++ b/include/unotools/ucbstreamhelper.hxx @@ -39,9 +39,14 @@ namespace utl class UNOTOOLS_DLLPUBLIC UcbStreamHelper { public: - static std::unique_ptr<SvStream> CreateStream(const OUString& rFileName, StreamMode eOpenMode, css::uno::Reference<css::awt::XWindow> xParentWin = nullptr); - static std::unique_ptr<SvStream> CreateStream(const OUString& rFileName, StreamMode eOpenMode, - bool bFileExists, css::uno::Reference<css::awt::XWindow> xParentWin = nullptr); + static std::unique_ptr<SvStream> + CreateStream(const OUString& rFileName, StreamMode eOpenMode, + css::uno::Reference<css::awt::XWindow> xParentWin = nullptr, + bool bUseSimpleFileAccessInteraction = true); + static std::unique_ptr<SvStream> + CreateStream(const OUString& rFileName, StreamMode eOpenMode, bool bFileExists, + css::uno::Reference<css::awt::XWindow> xParentWin = nullptr, + bool bUseSimpleFileAccessInteraction = true); 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 ); |