diff options
Diffstat (limited to 'unotools/source/ucbhelper/XTempFile.hxx')
-rw-r--r-- | unotools/source/ucbhelper/XTempFile.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/unotools/source/ucbhelper/XTempFile.hxx b/unotools/source/ucbhelper/XTempFile.hxx index 2b0ec33cb42a..456dd7da186e 100644 --- a/unotools/source/ucbhelper/XTempFile.hxx +++ b/unotools/source/ucbhelper/XTempFile.hxx @@ -46,7 +46,7 @@ typedef ::cppu::WeakImplHelper< css::io::XTempFile , css::beans::XPropertyAccess , css::lang::XServiceInfo> OTempFileBase; -class OTempFileService : public OTempFileBase +class OTempFileService : public OTempFileBase, public comphelper::ByteReader { std::optional<utl::TempFileNamed> mpTempFile; std::mutex maMutex; @@ -112,6 +112,7 @@ public: virtual ::css::uno::Sequence< ::css::beans::PropertyValue > SAL_CALL getPropertyValues() override; virtual void SAL_CALL setPropertyValues( const ::css::uno::Sequence< ::css::beans::PropertyValue >& aProps ) override; + virtual sal_Int32 readSomeBytes(sal_Int8* aData, sal_Int32 nBytesToRead) override; virtual ~OTempFileService () override; }; |