From d5acb9a30fcb3b9c799bb68d9ca400c89a655724 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 31 Oct 2018 09:36:49 +0200 Subject: loplugin:useuniqueptr in SmDistanceDialog Change-Id: Ib5bda0c8cdd0e86ce27a56bfb1b86bc78d93a56f Reviewed-on: https://gerrit.libreoffice.org/63129 Tested-by: Jenkins Reviewed-by: Noel Grandin --- starmath/inc/dialog.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath/inc') 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 m_xCategories[NOCATEGORIES]; sal_uInt16 nActiveCategory; bool bScaleAllBrackets; -- cgit