summaryrefslogtreecommitdiff
path: root/include/vcl/texteng.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-15 08:29:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-17 10:16:35 +0200
commit8ff202bf4bae019fbd2183207936b1d2ef1f6ce1 (patch)
tree307e6ba2f1d033ce4388333744e92b111b7e44a9 /include/vcl/texteng.hxx
parent9b3904357be1fc4775fe5fb516d82c7c1ee53a1e (diff)
loplugin:useuniqueptr in TextEngine
Change-Id: Iff5d10c4e962994823ec4ce6a765f4456c677352
Diffstat (limited to 'include/vcl/texteng.hxx')
-rw-r--r--include/vcl/texteng.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx
index c4e70d56d06e..dcab1dd337b2 100644
--- a/include/vcl/texteng.hxx
+++ b/include/vcl/texteng.hxx
@@ -94,16 +94,16 @@ class VCL_DLLPUBLIC TextEngine : public SfxBroadcaster
friend class TextUndoInsertChars;
friend class TextUndoRemoveChars;
- TextDoc* mpDoc;
- TEParaPortions* mpTEParaPortions;
+ std::unique_ptr<TextDoc> mpDoc;
+ std::unique_ptr<TEParaPortions> mpTEParaPortions;
VclPtr<OutputDevice> mpRefDev;
- TextViews* mpViews;
+ std::unique_ptr<TextViews> mpViews;
TextView* mpActiveView;
- TextUndoManager* mpUndoManager;
+ std::unique_ptr<TextUndoManager> mpUndoManager;
- IdleFormatter* mpIdleFormatter;
+ std::unique_ptr<IdleFormatter> mpIdleFormatter;
std::unique_ptr<TEIMEInfos> mpIMEInfos;
@@ -113,7 +113,7 @@ class VCL_DLLPUBLIC TextEngine : public SfxBroadcaster
tools::Rectangle maInvalidRect;
- LocaleDataWrapper* mpLocaleDataWrapper;
+ std::unique_ptr<LocaleDataWrapper> mpLocaleDataWrapper;
vcl::Font maFont;
Color maTextColor;