coverity#708104 Uninitialized scalar field
Change-Id: I3b35046fd10a779b3a0f6efeadf0ea7f4d3132da
This commit is contained in:
@@ -83,6 +83,21 @@ struct ScPrintState // Save Variables from ScPrintFunc
|
||||
long nTotalPages;
|
||||
long nPageStart;
|
||||
long nDocPages;
|
||||
ScPrintState()
|
||||
: nPrintTab(0)
|
||||
, nStartCol(0)
|
||||
, nStartRow(0)
|
||||
, nEndCol(0)
|
||||
, nEndRow(0)
|
||||
, nZoom(0)
|
||||
, nPagesX(0)
|
||||
, nPagesY(0)
|
||||
, nTabPages(0)
|
||||
, nTotalPages(0)
|
||||
, nPageStart(0)
|
||||
, nDocPages(0)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
class ScPageRowEntry
|
||||
|
@@ -89,10 +89,12 @@ ScPreview::ScPreview( Window* pParent, ScDocShell* pDocSh, ScPreviewShell* pView
|
||||
Window( pParent ),
|
||||
nPageNo( 0 ),
|
||||
nZoom( 100 ),
|
||||
nTabCount( 0 ),
|
||||
nTabsTested( 0 ),
|
||||
nPages(),
|
||||
nFirstAttr(),
|
||||
nTab( 0 ),
|
||||
nTabPage( 0 ),
|
||||
nTabStart( 0 ),
|
||||
nDisplayStart( 0 ),
|
||||
aDate( Date::SYSTEM ),
|
||||
@@ -123,6 +125,7 @@ ScPreview::ScPreview( Window* pParent, ScDocShell* pDocSh, ScPreviewShell* pView
|
||||
bPageMargin ( false ),
|
||||
bColRulerMove( false ),
|
||||
mbHasEmptyRangeTable(false),
|
||||
nLeftPosition( 0 ),
|
||||
mnScale( 0 ),
|
||||
nColNumberButttonDown( 0 ),
|
||||
nHeaderHeight ( 0 ),
|
||||
|
Reference in New Issue
Block a user