summaryrefslogtreecommitdiff
path: root/include/svx/textchainflow.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-05 11:25:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-07 10:00:22 +0100
commitd4e1802c620e3cddb2e7a9f6a573a5a4770bc7a4 (patch)
treeccb178f4c83baf8d21cdf9c310e6f3bbce46c2bf /include/svx/textchainflow.hxx
parentf4b9c35c018ccacd7f8cf71c534863239b0da02c (diff)
loplugin:useuniqueptr in TextChainFlow
Change-Id: Iad96df43c9c7ae6d5fd4f3aa9c2c5c721711da30 Reviewed-on: https://gerrit.libreoffice.org/49331 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx/textchainflow.hxx')
-rw-r--r--include/svx/textchainflow.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/svx/textchainflow.hxx b/include/svx/textchainflow.hxx
index d52e26a86e3d..2c5f5d8c00a5 100644
--- a/include/svx/textchainflow.hxx
+++ b/include/svx/textchainflow.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_SVX_TEXTCHAINFLOW_HXX
#include <svx/textchain.hxx>
+#include <memory>
class SdrTextObj;
class SdrOutliner;
@@ -56,8 +57,8 @@ protected:
ESelection maOverflowPosSel;
ESelection maPostChainingSel;
- OFlowChainedText *mpOverflChText;
- UFlowChainedText *mpUnderflChText;
+ std::unique_ptr<OFlowChainedText> mpOverflChText;
+ std::unique_ptr<UFlowChainedText> mpUnderflChText;
void impCheckForFlowEvents(SdrOutliner *, SdrOutliner *);