Kaydet (Commit) 8b486c04 authored tarafından Caolán McNamara's avatar Caolán McNamara

loplugin: literaltoboolconversion

Change-Id: I675a29185c0401a8462ece17f70db82d188a53c5
üst db5f86c7
...@@ -275,13 +275,13 @@ bool SdOptionsLayout::WriteData( Any* pValues ) const ...@@ -275,13 +275,13 @@ bool SdOptionsLayout::WriteData( Any* pValues ) const
SdOptionsLayoutItem::SdOptionsLayoutItem() SdOptionsLayoutItem::SdOptionsLayoutItem()
: SfxPoolItem ( ATTR_OPTIONS_LAYOUT ) : SfxPoolItem ( ATTR_OPTIONS_LAYOUT )
, maOptionsLayout ( 0, false ) , maOptionsLayout ( false, false )
{ {
} }
SdOptionsLayoutItem::SdOptionsLayoutItem( SdOptions* pOpts, ::sd::FrameView* pView ) SdOptionsLayoutItem::SdOptionsLayoutItem( SdOptions* pOpts, ::sd::FrameView* pView )
: SfxPoolItem ( ATTR_OPTIONS_LAYOUT ) : SfxPoolItem ( ATTR_OPTIONS_LAYOUT )
, maOptionsLayout ( 0, false ) , maOptionsLayout ( false, false )
{ {
if( pOpts ) if( pOpts )
{ {
...@@ -391,7 +391,7 @@ bool SdOptionsContents::WriteData( Any* pValues ) const ...@@ -391,7 +391,7 @@ bool SdOptionsContents::WriteData( Any* pValues ) const
SdOptionsContentsItem::SdOptionsContentsItem() SdOptionsContentsItem::SdOptionsContentsItem()
: SfxPoolItem ( ATTR_OPTIONS_CONTENTS ) : SfxPoolItem ( ATTR_OPTIONS_CONTENTS )
, maOptionsContents ( 0, false ) , maOptionsContents ( false, false )
{ {
} }
...@@ -642,13 +642,13 @@ bool SdOptionsMisc::WriteData( Any* pValues ) const ...@@ -642,13 +642,13 @@ bool SdOptionsMisc::WriteData( Any* pValues ) const
SdOptionsMiscItem::SdOptionsMiscItem() SdOptionsMiscItem::SdOptionsMiscItem()
: SfxPoolItem ( ATTR_OPTIONS_MISC ) : SfxPoolItem ( ATTR_OPTIONS_MISC )
, maOptionsMisc ( 0, false ) , maOptionsMisc ( false, false )
{ {
} }
SdOptionsMiscItem::SdOptionsMiscItem( SdOptions* pOpts, ::sd::FrameView* pView ) SdOptionsMiscItem::SdOptionsMiscItem( SdOptions* pOpts, ::sd::FrameView* pView )
: SfxPoolItem ( ATTR_OPTIONS_MISC ) : SfxPoolItem ( ATTR_OPTIONS_MISC )
, maOptionsMisc ( 0, false ) , maOptionsMisc ( false, false )
{ {
if( pOpts ) if( pOpts )
{ {
...@@ -853,13 +853,13 @@ bool SdOptionsSnap::WriteData( Any* pValues ) const ...@@ -853,13 +853,13 @@ bool SdOptionsSnap::WriteData( Any* pValues ) const
SdOptionsSnapItem::SdOptionsSnapItem() SdOptionsSnapItem::SdOptionsSnapItem()
: SfxPoolItem ( ATTR_OPTIONS_SNAP ) : SfxPoolItem ( ATTR_OPTIONS_SNAP )
, maOptionsSnap ( 0, false ) , maOptionsSnap ( false, false )
{ {
} }
SdOptionsSnapItem::SdOptionsSnapItem( SdOptions* pOpts, ::sd::FrameView* pView ) SdOptionsSnapItem::SdOptionsSnapItem( SdOptions* pOpts, ::sd::FrameView* pView )
: SfxPoolItem ( ATTR_OPTIONS_SNAP ) : SfxPoolItem ( ATTR_OPTIONS_SNAP )
, maOptionsSnap ( 0, false ) , maOptionsSnap ( false, false )
{ {
if( pView ) if( pView )
{ {
...@@ -1310,13 +1310,13 @@ bool SdOptionsPrint::WriteData( Any* pValues ) const ...@@ -1310,13 +1310,13 @@ bool SdOptionsPrint::WriteData( Any* pValues ) const
SdOptionsPrintItem::SdOptionsPrintItem() SdOptionsPrintItem::SdOptionsPrintItem()
: SfxPoolItem ( ATTR_OPTIONS_PRINT ) : SfxPoolItem ( ATTR_OPTIONS_PRINT )
, maOptionsPrint ( 0, false ) , maOptionsPrint ( false, false )
{ {
} }
SdOptionsPrintItem::SdOptionsPrintItem( SdOptions* pOpts ) SdOptionsPrintItem::SdOptionsPrintItem( SdOptions* pOpts )
: SfxPoolItem ( ATTR_OPTIONS_PRINT ) : SfxPoolItem ( ATTR_OPTIONS_PRINT )
, maOptionsPrint ( 0, false ) , maOptionsPrint ( false, false )
{ {
if( pOpts ) if( pOpts )
{ {
......
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