summaryrefslogtreecommitdiff
path: root/sw/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-03-30 23:43:42 +0200
committerMichael Stahl <mstahl@redhat.com>2015-03-31 20:08:48 +0200
commit1621c972a0291369366c07df33cb45666e76e3a9 (patch)
treef48e5f04f7b052738539e5ae3e0061cc6864612e /sw/inc
parent58a7850bae8455146eed107efdf7661534a64b5e (diff)
sw: convert these SwFEShell members to std::unique_ptr
Change-Id: Ida2def93baf8d389e8000d5c31ac50dea7cd4c1b
Diffstat (limited to 'sw/inc')
-rw-r--r--sw/inc/fesh.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/inc/fesh.hxx b/sw/inc/fesh.hxx
index dca10c7a9582..cac6a468386b 100644
--- a/sw/inc/fesh.hxx
+++ b/sw/inc/fesh.hxx
@@ -35,6 +35,7 @@
#include <o3tl/typed_flags_set.hxx>
#include <vector>
+#include <memory>
namespace editeng { class SvxBorderLine; }
@@ -182,7 +183,8 @@ class SdrDropMarkerOverlay;
class SW_DLLPUBLIC SwFEShell : public SwEditShell
{
private:
- SdrDropMarkerOverlay *m_pChainFrom, *m_pChainTo;
+ std::unique_ptr<SdrDropMarkerOverlay> m_pChainTo;
+ std::unique_ptr<SdrDropMarkerOverlay> m_pChainFrom;
bool m_bCheckForOLEInCaption;
SAL_DLLPRIVATE SwFlyFrm *FindFlyFrm() const;