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/headless | |
parent | 8fa439aa710bdd21e61910c02bfb9d8a8117eef4 (diff) |
loplugin:commaoperator in vcl/
Change-Id: Ia5bbce27d9e9526122ce1e27389c7845e6709f27
Diffstat (limited to 'vcl/headless')
-rw-r--r-- | vcl/headless/svpbmp.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/vcl/headless/svpbmp.cxx b/vcl/headless/svpbmp.cxx index 3f59cdd903e5..68ea2f324f2e 100644 --- a/vcl/headless/svpbmp.cxx +++ b/vcl/headless/svpbmp.cxx @@ -203,7 +203,8 @@ void SvpSalBitmap::Destroy() if (mpDIB) { delete[] mpDIB->mpBits; - delete mpDIB, mpDIB = nullptr; + delete mpDIB; + mpDIB = nullptr; } } @@ -212,7 +213,10 @@ Size SvpSalBitmap::GetSize() const Size aSize; if (mpDIB) - aSize.Width() = mpDIB->mnWidth, aSize.Height() = mpDIB->mnHeight; + { + aSize.Width() = mpDIB->mnWidth; + aSize.Height() = mpDIB->mnHeight; + } return aSize; } |