summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-24 10:10:11 +0000
committerJan Holesovsky <kendy@collabora.com>2014-12-02 15:47:29 +0100
commit8296e1d191e5f58977b6aafebf6da77129219ecb (patch)
tree72da7d4c254730c1ebf7adc60178f175b327747d /include
parentc2728f5406f1a871b42e8c5c2cce5352ed9799e2 (diff)
coverity#1255909 Uninitialized scalar field
Change-Id: I162199233c9d3feb03e7ab33b777174b2a03035a Reviewed-on: https://gerrit.libreoffice.org/13104 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/salgtype.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/salgtype.hxx b/include/vcl/salgtype.hxx
index 23b8977f141c..de8a5555fee4 100644
--- a/include/vcl/salgtype.hxx
+++ b/include/vcl/salgtype.hxx
@@ -47,10 +47,10 @@ struct SalTwoRect
long mnDestWidth;
long mnDestHeight;
- SalTwoRect() {}
-
- SalTwoRect(long nSrcX, long nSrcY, long nSrcWidth, long nSrcHeight, long nDestX, long nDestY, long nDestWidth, long nDestHeight)
- : mnSrcX(nSrcX), mnSrcY(nSrcY), mnSrcWidth(nSrcWidth), mnSrcHeight(nSrcHeight), mnDestX(nDestX), mnDestY(nDestY), mnDestWidth(nDestWidth), mnDestHeight(nDestHeight)
+ SalTwoRect(long nSrcX, long nSrcY, long nSrcWidth, long nSrcHeight,
+ long nDestX, long nDestY, long nDestWidth, long nDestHeight)
+ : mnSrcX(nSrcX), mnSrcY(nSrcY), mnSrcWidth(nSrcWidth), mnSrcHeight(nSrcHeight)
+ , mnDestX(nDestX), mnDestY(nDestY), mnDestWidth(nDestWidth), mnDestHeight(nDestHeight)
{
}
};