diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-15 15:54:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-09-16 08:30:26 +0000 |
commit | a2b77b43685884fb4e9be04152a49294fa50db36 (patch) | |
tree | 00d599e81a653dc5c663f9dd179970b3e6aa11f2 /cppcanvas | |
parent | 389939b02bde4ea72268960310bbd1f2984200bf (diff) |
loplugin:singlevalfields in basic..idl
Also fix obvious bug in the initialisation of the
connectivity::odbc::OConnection::m_bClosed field.
Probably closes some kind of connection leak there.
Change-Id: I04579cf91bcd6d6c51c697d83971da4142743a82
Reviewed-on: https://gerrit.libreoffice.org/28932
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas')
-rw-r--r-- | cppcanvas/source/mtfrenderer/emfplus.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cppcanvas/source/mtfrenderer/emfplus.cxx b/cppcanvas/source/mtfrenderer/emfplus.cxx index e16fe7c2217d..d05dd2f04e67 100644 --- a/cppcanvas/source/mtfrenderer/emfplus.cxx +++ b/cppcanvas/source/mtfrenderer/emfplus.cxx @@ -387,14 +387,12 @@ namespace cppcanvas sal_Int32 parts; sal_Int32 *combineMode; sal_Int32 initialState; - EMFPPath *initialPath; float ix, iy, iw, ih; EMFPRegion () : parts(0) , combineMode(nullptr) , initialState(0) - , initialPath(nullptr) , ix(0.0) , iy(0.0) , iw(0.0) @@ -408,10 +406,6 @@ namespace cppcanvas delete [] combineMode; combineMode = nullptr; } - if (initialPath) { - delete initialPath; - initialPath = nullptr; - } } void Read (SvStream& s) |