summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-09-26 15:35:09 +0200
committerMichael Stahl <mstahl@redhat.com>2014-09-26 16:38:34 +0200
commitea2d767d4475ac3399fdfa59a4d0e2fbc38d1aa9 (patch)
treea0c57c0208e00a56bc498bdda7f7ae5db35ec746 /include
parent325ce86b56131f1e874e8cb2c5948fed719afe07 (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')
-rw-r--r--include/tools/urlobj.hxx4
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: