Kaydet (Commit) 54df60d8 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#708048 Uninitialized scalar field

Change-Id: Icd9bc7a072a27328d46e1a6ed14a51644a2f7269
üst d4360c40
...@@ -30,11 +30,16 @@ struct ScRTFCellDefault ...@@ -30,11 +30,16 @@ struct ScRTFCellDefault
{ {
SfxItemSet aItemSet; SfxItemSet aItemSet;
SCCOL nCol; SCCOL nCol;
sal_uInt16 nTwips; // rechter Rand der Zelle sal_uInt16 nTwips; // rechter Rand der Zelle
SCCOL nColOverlap; // MergeCell wenn >1, merged cells wenn 0 SCCOL nColOverlap; // MergeCell wenn >1, merged cells wenn 0
ScRTFCellDefault( SfxItemPool* pPool ) : ScRTFCellDefault( SfxItemPool* pPool )
aItemSet( *pPool ), nColOverlap(1) {} : aItemSet(*pPool)
, nCol(0)
, nTwips(0)
, nColOverlap(1)
{
}
}; };
class ScRTFColTwips : public o3tl::sorted_vector<sal_uLong> {}; class ScRTFColTwips : public o3tl::sorted_vector<sal_uLong> {};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment