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

loplugin:useuniqueptr in ScZoomSliderWnd

Change-Id: If6cc62d08fbd589f332514e01a42aae8f919e68f
Reviewed-on: https://gerrit.libreoffice.org/56552
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst e528b7fd
......@@ -234,7 +234,7 @@ ScZoomSliderWnd::~ScZoomSliderWnd()
void ScZoomSliderWnd::dispose()
{
delete mpImpl;
mpImpl.reset();
vcl::Window::dispose();
}
......
......@@ -40,7 +40,7 @@ class ScZoomSliderWnd: public vcl::Window
{
private:
struct ScZoomSliderWnd_Impl;
ScZoomSliderWnd_Impl* mpImpl;
std::unique_ptr<ScZoomSliderWnd_Impl> mpImpl;
Size aLogicalSize;
css::uno::Reference<css::frame::XDispatchProvider> m_xDispatchProvider;
......
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