diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-09-26 15:35:09 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-09-26 16:38:34 +0200 |
commit | ea2d767d4475ac3399fdfa59a4d0e2fbc38d1aa9 (patch) | |
tree | a0c57c0208e00a56bc498bdda7f7ae5db35ec746 /include/tools/urlobj.hxx | |
parent | 325ce86b56131f1e874e8cb2c5948fed719afe07 (diff) |
tools: change INetURLObject::getData to return std::unique_ptr
Life-cycle becomes a lot more obvious this way.
Change-Id: I1ca99607f609a2223011c40447ad1cd9ca5ccaa5
Diffstat (limited to 'include/tools/urlobj.hxx')
-rw-r--r-- | include/tools/urlobj.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx index aee3aeab9c31..9610aab6b3a8 100644 --- a/include/tools/urlobj.hxx +++ b/include/tools/urlobj.hxx @@ -26,6 +26,8 @@ #include <rtl/textenc.h> #include <sal/types.h> +#include <memory> + class SvMemoryStream; namespace com { namespace sun { namespace star { namespace util { @@ -854,7 +856,7 @@ public: const; // Data URLs: - SvMemoryStream* getData(); + std::unique_ptr<SvMemoryStream> getData(); // POP3 and URLs: |