Kaydet (Commit) fe7bea05 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:useuniqueptr in SwSendMailDialog

Change-Id: I653066c25fd627d98e63f7ae94a56954c9c01583
Reviewed-on: https://gerrit.libreoffice.org/58248
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 818b8377
......@@ -309,7 +309,7 @@ void SwSendMailDialog::dispose()
{
}
}
delete m_pImpl;
m_pImpl.reset();
m_pStatus.disposeAndClear();
m_pTransferStatus.clear();
m_pPaused.clear();
......
......@@ -179,7 +179,7 @@ class SwSendMailDialog : public Dialog
bool m_bCancel;
bool m_bDestructionEnabled;
SwSendMailDialog_Impl* m_pImpl;
std::unique_ptr<SwSendMailDialog_Impl> m_pImpl;
SwMailMergeConfigItem* m_pConfigItem;
sal_Int32 m_nExpectedCount;
sal_Int32 m_nSendCount;
......
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