Kaydet (Commit) 8dc73a2c authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Noel Grandin

tdf#89329: use unique_ptr for pImpl in fmpage

Change-Id: I47bc9c2e70ddad5d560cc41db645d9a7085a9aa9
Reviewed-on: https://gerrit.libreoffice.org/25936Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 916b3e30
...@@ -43,7 +43,7 @@ class SVX_DLLPUBLIC FmFormPage : public SdrPage ...@@ -43,7 +43,7 @@ class SVX_DLLPUBLIC FmFormPage : public SdrPage
FmFormPage& operator=(const FmFormPage&) = delete; FmFormPage& operator=(const FmFormPage&) = delete;
friend class FmFormObj; friend class FmFormObj;
FmFormPageImpl* m_pImpl; std::unique_ptr<FmFormPageImpl> m_pImpl;
OUString m_sPageName; OUString m_sPageName;
public: public:
......
...@@ -73,7 +73,6 @@ void FmFormPage::lateInit(const FmFormPage& rPage, FmFormModel* const pNewModel) ...@@ -73,7 +73,6 @@ void FmFormPage::lateInit(const FmFormPage& rPage, FmFormModel* const pNewModel)
FmFormPage::~FmFormPage() FmFormPage::~FmFormPage()
{ {
delete m_pImpl;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment