summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/AccessibleText.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-04-10 11:16:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-04-12 15:15:10 +0200
commit44c75946d209d2bbfb9d2b0ad8a59abd3d0e8b74 (patch)
treeb5570cb1c4d29b8dce52e34de3f3ffb142df1bd1 /sc/source/ui/inc/AccessibleText.hxx
parent5744448588ea45349930ba806d858f018987bcbd (diff)
loplugin:useuniqueptr in ScAccessiblePreviewHeaderCellTextData
Change-Id: I18764ca8ca2e0a78d68005c7604809990afa63ce Reviewed-on: https://gerrit.libreoffice.org/52760 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc/AccessibleText.hxx')
-rw-r--r--sc/source/ui/inc/AccessibleText.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/AccessibleText.hxx b/sc/source/ui/inc/AccessibleText.hxx
index e802af493082..286bdb6463ec 100644
--- a/sc/source/ui/inc/AccessibleText.hxx
+++ b/sc/source/ui/inc/AccessibleText.hxx
@@ -187,7 +187,7 @@ public:
virtual SvxEditViewForwarder* GetEditViewForwarder( bool /* bCreate */ ) override { return nullptr; }
private:
- ScPreviewViewForwarder* mpViewForwarder;
+ std::unique_ptr<ScPreviewViewForwarder> mpViewForwarder;
ScPreviewShell* mpViewShell;
OUString maText;
bool mbColHeader;