summaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-11 15:25:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-11 15:25:13 +0100
commit60a0a093ca53a758c11ba88db0f057fceb96fe90 (patch)
tree00ab85bf3ee7e1249e8340c30dac72e2c45084d3 /filter
parentcorrected copy&paste error (diff)
downloadcore-60a0a093ca53a758c11ba88db0f057fceb96fe90.tar.gz
core-60a0a093ca53a758c11ba88db0f057fceb96fe90.zip
coverity#738637 Uninitialized scalar field
Change-Id: I9e8abf725c348c4d779d779e24e411609df64986
Diffstat (limited to 'filter')
-rw-r--r--filter/source/graphicfilter/ipcx/ipcx.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/filter/source/graphicfilter/ipcx/ipcx.cxx b/filter/source/graphicfilter/ipcx/ipcx.cxx
index 59849870589a..23f5ee2564d5 100644
--- a/filter/source/graphicfilter/ipcx/ipcx.cxx
+++ b/filter/source/graphicfilter/ipcx/ipcx.cxx
@@ -64,6 +64,18 @@ public:
PCXReader::PCXReader(SvStream &rStream)
: m_rPCX(rStream)
, pAcc(NULL)
+ , nVersion(0)
+ , nEncoding(0)
+ , nBitsPerPlanePix(0)
+ , nPlanes(0)
+ , nBytesPerPlaneLin(0)
+ , nPaletteInfo(0)
+ , nWidth(0)
+ , nHeight(0)
+ , nResX(0)
+ , nResY(0)
+ , nDestBitsPerPixel(0)
+ , nStatus(false)
{
pPalette = new sal_uInt8[ 768 ];
}