summaryrefslogtreecommitdiff
path: root/writerperfect
diff options
context:
space:
mode:
Diffstat (limited to 'writerperfect')
-rw-r--r--writerperfect/source/common/WPXSvInputStream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerperfect/source/common/WPXSvInputStream.cxx b/writerperfect/source/common/WPXSvInputStream.cxx
index f6bf5864393b..2c6b062d990b 100644
--- a/writerperfect/source/common/WPXSvInputStream.cxx
+++ b/writerperfect/source/common/WPXSvInputStream.cxx
@@ -735,7 +735,7 @@ librevenge::RVNGInputStream *WPXSvInputStreamImpl::createWPXStream(const tools::
{
if (rxStorage.Is())
{
- Reference < XInputStream > xContents(new utl::OSeekableInputStreamWrapper(rxStorage));
+ Reference < XInputStream > xContents(new utl::OSeekableInputStreamWrapper(rxStorage.get()));
return new WPXSvInputStream(xContents);
}
return nullptr;