summaryrefslogtreecommitdiff
path: root/sd/inc/OutlinerIterator.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-09-25 20:49:17 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-09-25 20:52:33 +0100
commit958f7a7b772cff53e441b02c322ffbd80decc9a0 (patch)
tree0e3287da17ef87515f3f2287d539ff7ebe9dd6eb /sd/inc/OutlinerIterator.hxx
parent4563921f23d79f6e3e431a314064c6dd201cfee2 (diff)
impl this with a std::unique_ptr
Change-Id: Ia2a7971bf67bac2ed2c5dd3ef48a17f4f3d59a5d
Diffstat (limited to 'sd/inc/OutlinerIterator.hxx')
-rw-r--r--sd/inc/OutlinerIterator.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/inc/OutlinerIterator.hxx b/sd/inc/OutlinerIterator.hxx
index b261ed4e5997..2fc5a6cd9647 100644
--- a/sd/inc/OutlinerIterator.hxx
+++ b/sd/inc/OutlinerIterator.hxx
@@ -135,7 +135,7 @@ public:
private:
/// The implementation object to which most of the methods are forwarded.
- IteratorImplBase* mpIterator;
+ std::unique_ptr<IteratorImplBase> mxIterator;
};
/** This class wraps the <type>Outliner</type> class and represents it as