cppcheck: fix uninitMemberVar + remove macro
Change-Id: Ifce036595a8a5e95406c8a1752dbb77cfe735a3e
This commit is contained in:
@@ -129,24 +129,29 @@ static PHLayout pPHLayout[] =
|
||||
{ EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x16, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x16, 0x0d, 0x12, sal_True, sal_True, sal_False }
|
||||
};
|
||||
|
||||
#define PPT_WRITER_BASE_INIT_VALUES \
|
||||
maFraction ( 1, 576 ), \
|
||||
maMapModeSrc ( MAP_100TH_MM ), \
|
||||
maMapModeDest ( MAP_INCH, Point(), maFraction, maFraction ), \
|
||||
meLatestPageType ( NORMAL )
|
||||
|
||||
PPTWriterBase::PPTWriterBase() :
|
||||
PPT_WRITER_BASE_INIT_VALUES
|
||||
mXModel (0),
|
||||
mXStatusIndicator (0),
|
||||
mbStatusIndicator (false),
|
||||
maFraction (1, 576),
|
||||
maMapModeSrc (MAP_100TH_MM),
|
||||
maMapModeDest (MAP_INCH, Point(), maFraction, maFraction),
|
||||
meLatestPageType (NORMAL),
|
||||
mpStyleSheet (0)
|
||||
{
|
||||
DBG(printf ("PPTWriterBase::PPTWriterBase()\n"));
|
||||
}
|
||||
|
||||
PPTWriterBase::PPTWriterBase( const Reference< XModel > & rXModel,
|
||||
const Reference< XStatusIndicator > & rXStatInd ) :
|
||||
mXModel ( rXModel ),
|
||||
mXStatusIndicator ( rXStatInd ),
|
||||
mbStatusIndicator ( false ),
|
||||
PPT_WRITER_BASE_INIT_VALUES
|
||||
mXModel (rXModel),
|
||||
mXStatusIndicator (rXStatInd),
|
||||
mbStatusIndicator (false),
|
||||
maFraction (1, 576),
|
||||
maMapModeSrc (MAP_100TH_MM),
|
||||
maMapModeDest (MAP_INCH, Point(), maFraction, maFraction),
|
||||
meLatestPageType (NORMAL),
|
||||
mpStyleSheet (0)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user