diff options
author | Noel Grandin <noel@peralex.com> | 2016-02-22 15:38:12 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-02-22 15:38:35 +0200 |
commit | 84db33a4569c67c0164b85bd218246e1741f6815 (patch) | |
tree | c69a54c5f68e3f6d170a8f7c91617e476ed42ab7 /vcl/source/gdi/metaact.cxx | |
parent | 8fa439aa710bdd21e61910c02bfb9d8a8117eef4 (diff) |
loplugin:commaoperator in vcl/
Change-Id: Ia5bbce27d9e9526122ce1e27389c7845e6709f27
Diffstat (limited to 'vcl/source/gdi/metaact.cxx')
-rw-r--r-- | vcl/source/gdi/metaact.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/source/gdi/metaact.cxx b/vcl/source/gdi/metaact.cxx index e12d49ee38e3..0d05aa7de5e5 100644 --- a/vcl/source/gdi/metaact.cxx +++ b/vcl/source/gdi/metaact.cxx @@ -1233,7 +1233,8 @@ void MetaTextArrayAction::Read( SvStream& rIStm, ImplMetaReadData* pData ) if ( mnIndex + mnLen > maStr.getLength() ) { mnIndex = 0; - delete[] mpDXAry, mpDXAry = nullptr; + delete[] mpDXAry; + mpDXAry = nullptr; } } } @@ -3196,7 +3197,8 @@ void MetaCommentAction::ImplInitDynamicData( const sal_uInt8* pData, sal_uInt32 { if ( nDataSize && pData ) { - mnDataSize = nDataSize, mpData = new sal_uInt8[ mnDataSize ]; + mnDataSize = nDataSize; + mpData = new sal_uInt8[ mnDataSize ]; memcpy( mpData, pData, mnDataSize ); } else |