summaryrefslogtreecommitdiff
path: root/package/source/xstor/selfterminatefilestream.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-11-02 17:46:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-11-15 08:28:44 +0100
commit5837402fb1daa437d9a1a37edc9ede57319944f1 (patch)
tree61e39515cd546fe7ad76364ebb444850b93541ce /package/source/xstor/selfterminatefilestream.hxx
parent3f15a663b273e4a437fd68335d6eab2b11fc80c9 (diff)
fdo#46808, use service constructor for ucb::SimpleFileAccess
I upgraded the service to return XSimpleFileAccess3, since it already implemented that interface, and it's backwards compatible. Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
Diffstat (limited to 'package/source/xstor/selfterminatefilestream.hxx')
-rw-r--r--package/source/xstor/selfterminatefilestream.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/source/xstor/selfterminatefilestream.hxx b/package/source/xstor/selfterminatefilestream.hxx
index 8698c3761059..85da3585b00f 100644
--- a/package/source/xstor/selfterminatefilestream.hxx
+++ b/package/source/xstor/selfterminatefilestream.hxx
@@ -22,7 +22,7 @@
#include <com/sun/star/io/XInputStream.hpp>
#include <com/sun/star/io/XSeekable.hpp>
-#include <com/sun/star/ucb/XSimpleFileAccess2.hpp>
+#include <com/sun/star/ucb/XSimpleFileAccess3.hpp>
#include <cppuhelper/implbase2.hxx>
struct OWriteStream_Impl;
@@ -31,7 +31,7 @@ class OSelfTerminateFileStream : public cppu::WeakImplHelper2< ::com::sun::star:
::com::sun::star::io::XSeekable >
{
protected:
- ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XSimpleFileAccess2 > m_xFileAccess;
+ ::com::sun::star::uno::Reference< ::com::sun::star::ucb::XSimpleFileAccess3 > m_xFileAccess;
::rtl::OUString m_aURL;