summaryrefslogtreecommitdiff
path: root/starmath/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-31 09:36:49 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-11-09 12:27:48 +0100
commitd5acb9a30fcb3b9c799bb68d9ca400c89a655724 (patch)
tree64bc7914ca16b3f86697da7f93b63bd730202e11 /starmath/inc
parent7c19dff94e7ce99ce2fc702ea69032c21212a80f (diff)
loplugin:useuniqueptr in SmDistanceDialog
Change-Id: Ib5bda0c8cdd0e86ce27a56bfb1b86bc78d93a56f Reviewed-on: https://gerrit.libreoffice.org/63129 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath/inc')
-rw-r--r--starmath/inc/dialog.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx
index 4bcd3d99b395..2e2300a9aa64 100644
--- a/starmath/inc/dialog.hxx
+++ b/starmath/inc/dialog.hxx
@@ -201,7 +201,7 @@ class SmDistanceDialog : public weld::GenericDialogController
weld::Widget* m_pCurrentImage;
- SmCategoryDesc *Categories[NOCATEGORIES];
+ std::unique_ptr<SmCategoryDesc> m_xCategories[NOCATEGORIES];
sal_uInt16 nActiveCategory;
bool bScaleAllBrackets;