diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-25 10:22:25 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-25 10:22:25 +0200 |
commit | 7c9d8afd913c17100aa4185e3b044137f225c81f (patch) | |
tree | 4ab579f9e749884411c1545c6b5e6d65f2541d52 /vcl | |
parent | f52f074a4d21be494a05ff9391b0206840f49c8c (diff) |
Revert "make UcbStreamHelper return SvStream by std::unique_ptr"
This reverts commit eeefb8c440b514cefdc4e82cc06843da9eabeb13.
this was pushed in error
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/graphic/GraphicLoader.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/graphic/GraphicLoader.cxx b/vcl/source/graphic/GraphicLoader.cxx index d7f66c0fde7f..9c453acf0864 100644 --- a/vcl/source/graphic/GraphicLoader.cxx +++ b/vcl/source/graphic/GraphicLoader.cxx @@ -34,8 +34,8 @@ Graphic loadFromURL(OUString const& rURL, sal_Int16 nExtWidth, sal_Int16 nExtHei Graphic aGraphic; - std::unique_ptr<SvStream> pInputStream - = utl::UcbStreamHelper::CreateStream(rURL, StreamMode::READ); + std::unique_ptr<SvStream> pInputStream; + pInputStream.reset(utl::UcbStreamHelper::CreateStream(rURL, StreamMode::READ)); if (pInputStream) { |