diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-07-21 12:23:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-07-21 12:40:50 +0100 |
commit | 8b486c042d796d8d43cf8266418274e26407ee08 (patch) | |
tree | 1b958621dfce189bf5048149b721b04a10243a48 /sd/source/ui/app/optsitem.cxx | |
parent | db5f86c764032c5100a4c5545b4d448d37b6ed5e (diff) |
loplugin: literaltoboolconversion
Change-Id: I675a29185c0401a8462ece17f70db82d188a53c5
Diffstat (limited to 'sd/source/ui/app/optsitem.cxx')
-rw-r--r-- | sd/source/ui/app/optsitem.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sd/source/ui/app/optsitem.cxx b/sd/source/ui/app/optsitem.cxx index 8bdf2709e922..e474494baa87 100644 --- a/sd/source/ui/app/optsitem.cxx +++ b/sd/source/ui/app/optsitem.cxx @@ -275,13 +275,13 @@ bool SdOptionsLayout::WriteData( Any* pValues ) const SdOptionsLayoutItem::SdOptionsLayoutItem() : SfxPoolItem ( ATTR_OPTIONS_LAYOUT ) -, maOptionsLayout ( 0, false ) +, maOptionsLayout ( false, false ) { } SdOptionsLayoutItem::SdOptionsLayoutItem( SdOptions* pOpts, ::sd::FrameView* pView ) : SfxPoolItem ( ATTR_OPTIONS_LAYOUT ) -, maOptionsLayout ( 0, false ) +, maOptionsLayout ( false, false ) { if( pOpts ) { @@ -391,7 +391,7 @@ bool SdOptionsContents::WriteData( Any* pValues ) const SdOptionsContentsItem::SdOptionsContentsItem() : SfxPoolItem ( ATTR_OPTIONS_CONTENTS ) -, maOptionsContents ( 0, false ) +, maOptionsContents ( false, false ) { } @@ -642,13 +642,13 @@ bool SdOptionsMisc::WriteData( Any* pValues ) const SdOptionsMiscItem::SdOptionsMiscItem() : SfxPoolItem ( ATTR_OPTIONS_MISC ) -, maOptionsMisc ( 0, false ) +, maOptionsMisc ( false, false ) { } SdOptionsMiscItem::SdOptionsMiscItem( SdOptions* pOpts, ::sd::FrameView* pView ) : SfxPoolItem ( ATTR_OPTIONS_MISC ) -, maOptionsMisc ( 0, false ) +, maOptionsMisc ( false, false ) { if( pOpts ) { @@ -853,13 +853,13 @@ bool SdOptionsSnap::WriteData( Any* pValues ) const SdOptionsSnapItem::SdOptionsSnapItem() : SfxPoolItem ( ATTR_OPTIONS_SNAP ) -, maOptionsSnap ( 0, false ) +, maOptionsSnap ( false, false ) { } SdOptionsSnapItem::SdOptionsSnapItem( SdOptions* pOpts, ::sd::FrameView* pView ) : SfxPoolItem ( ATTR_OPTIONS_SNAP ) -, maOptionsSnap ( 0, false ) +, maOptionsSnap ( false, false ) { if( pView ) { @@ -1310,13 +1310,13 @@ bool SdOptionsPrint::WriteData( Any* pValues ) const SdOptionsPrintItem::SdOptionsPrintItem() : SfxPoolItem ( ATTR_OPTIONS_PRINT ) -, maOptionsPrint ( 0, false ) +, maOptionsPrint ( false, false ) { } SdOptionsPrintItem::SdOptionsPrintItem( SdOptions* pOpts ) : SfxPoolItem ( ATTR_OPTIONS_PRINT ) -, maOptionsPrint ( 0, false ) +, maOptionsPrint ( false, false ) { if( pOpts ) { |