summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc/javaedit.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-07-26 15:21:58 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-07-30 08:20:10 +0200
commitdbaad8f46631e0e294d487bd215c5fb89ec1b962 (patch)
treea441884c8e1573163b4be6a3e6049fd592fc5640 /sw/source/uibase/inc/javaedit.hxx
parent9b7c875440d473aa914962d3a602b652722d30e8 (diff)
loplugin:useuniqueptr in SwJavaEditDialog
Change-Id: Iccd0cafdc6ac454f125da0f5a1df214d2463a2c5 Reviewed-on: https://gerrit.libreoffice.org/58234 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/uibase/inc/javaedit.hxx')
-rw-r--r--sw/source/uibase/inc/javaedit.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/inc/javaedit.hxx b/sw/source/uibase/inc/javaedit.hxx
index ccd83e3ecb9f..2a801ee1f770 100644
--- a/sw/source/uibase/inc/javaedit.hxx
+++ b/sw/source/uibase/inc/javaedit.hxx
@@ -37,9 +37,9 @@ private:
bool m_bIsUrl;
SwScriptField* m_pField;
- SwFieldMgr* m_pMgr;
+ std::unique_ptr<SwFieldMgr> m_pMgr;
SwWrtShell* m_pSh;
- sfx2::FileDialogHelper* m_pFileDlg;
+ std::unique_ptr<sfx2::FileDialogHelper> m_pFileDlg;
std::unique_ptr<weld::Entry> m_xTypeED;
std::unique_ptr<weld::RadioButton> m_xUrlRB;