vcl/source/image/ImplImageTree.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit a7dde8db81624c4f31c93b8611a4636d662f548e Author: Caolán McNamara <caol...@redhat.com> Date: Thu May 3 16:59:08 2018 +0100 can make good use of fact its a SvMemorystream Change-Id: Iad581202fab8bace4a730bf2c318718bcc065e9d Reviewed-on: https://gerrit.libreoffice.org/53811 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/vcl/source/image/ImplImageTree.cxx b/vcl/source/image/ImplImageTree.cxx index d27eaec8d018..296800681fa7 100644 --- a/vcl/source/image/ImplImageTree.cxx +++ b/vcl/source/image/ImplImageTree.cxx @@ -124,14 +124,14 @@ OUString getNameNoExtension(OUString const & sName) return sName.copy(0, nDotPosition); } -std::shared_ptr<SvStream> wrapStream(css::uno::Reference< css::io::XInputStream > const & stream) +std::shared_ptr<SvMemoryStream> wrapStream(css::uno::Reference< css::io::XInputStream > const & stream) { // This could use SvInputStream instead if that did not have a broken // SeekPos implementation for an XInputStream that is not also XSeekable // (cf. "@@@" at tags/DEV300_m37/svtools/source/misc1/strmadpt.cxx@264807 // l. 593): OSL_ASSERT(stream.is()); - std::shared_ptr<SvStream> s(std::make_shared<SvMemoryStream>()); + std::shared_ptr<SvMemoryStream> s(std::make_shared<SvMemoryStream>()); for (;;) { sal_Int32 const size = 2048; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits