Kaydet (Commit) 97db2e77 authored tarafından Arnold Dumas's avatar Arnold Dumas Kaydeden (comit) Noel Grandin

tdf#89329: Use unique_ptr for pImpl in numberingtypelistbox

Change-Id: I418868bc3415699f1c07ee57b556eb39e7b7c57d
Reviewed-on: https://gerrit.libreoffice.org/34185Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst b8d977c0
......@@ -40,7 +40,7 @@ struct SwNumberingTypeListBox_Impl;
class SW_DLLPUBLIC SwNumberingTypeListBox : public ListBox
{
SwNumberingTypeListBox_Impl* pImpl;
std::unique_ptr<SwNumberingTypeListBox_Impl> pImpl;
public:
SwNumberingTypeListBox( vcl::Window* pWin, WinBits nStyle );
......
......@@ -73,7 +73,7 @@ SwNumberingTypeListBox::~SwNumberingTypeListBox()
void SwNumberingTypeListBox::dispose()
{
delete pImpl;
pImpl.reset();
ListBox::dispose();
}
......
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