diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-08 09:43:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-08 09:43:42 +0200 |
commit | 93dae42fd4e5c7425cd0dfa945acd2fa0512d27f (patch) | |
tree | fa21f16fbe03a6501689ffe4122a30f60c9f9d4f /vcl/qt5/Qt5Graphics.cxx | |
parent | 4f3c5db4dfacfad32ef207193a21c96e1d39da85 (diff) |
loplugin:useuniqueptr in qt5
Change-Id: Ic7135e6ca3be7848fa39cd442d6dd716ea090713
Diffstat (limited to 'vcl/qt5/Qt5Graphics.cxx')
-rw-r--r-- | vcl/qt5/Qt5Graphics.cxx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/vcl/qt5/Qt5Graphics.cxx b/vcl/qt5/Qt5Graphics.cxx index 411dfd7543b8..23249c5799c6 100644 --- a/vcl/qt5/Qt5Graphics.cxx +++ b/vcl/qt5/Qt5Graphics.cxx @@ -44,12 +44,7 @@ Qt5Graphics::Qt5Graphics( Qt5Frame *pFrame, QImage *pQImage ) ResetClipRegion(); } -Qt5Graphics::~Qt5Graphics() -{ - // release the text styles - for (int i = 0; i < MAX_FALLBACK; ++i) - delete m_pTextStyle[i]; -} +Qt5Graphics::~Qt5Graphics() {} void Qt5Graphics::ChangeQImage(QImage* pQImage) { |