summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-06-02 11:19:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-06-02 11:20:57 +0100
commit2b61ae38d410e0748e53ac3c0d361ab622da1fb5 (patch)
treebce6a76319086c59208f2f89399129eff9ca602b /sc/source/ui/docshell/docsh.cxx
parent1d5c3028dcff26b16bccd9d11380ece5abfadf14 (diff)
rework ScQProReader to take SvStream instead of SfxMedium
its only uses the stream anyway and this makes it far easier to build a fuzzer on Change-Id: I4aa8b56d4b041708c4de1730d503641ab23c14e8
Diffstat (limited to 'sc/source/ui/docshell/docsh.cxx')
-rw-r--r--sc/source/ui/docshell/docsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 03131b4be5cd..a1011779ea2f 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -1372,7 +1372,7 @@ bool ScDocShell::ConvertFrom( SfxMedium& rMedium )
}
else if (aFltName == pFilterQPro6)
{
- FltError eError = ScFormatFilter::Get().ScImportQuattroPro( rMedium, &aDocument);
+ FltError eError = ScFormatFilter::Get().ScImportQuattroPro(rMedium.GetInStream(), &aDocument);
if (eError != eERR_OK)
{
if (!GetError())