From 8b486c042d796d8d43cf8266418274e26407ee08 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 21 Jul 2017 12:23:33 +0100 Subject: loplugin: literaltoboolconversion Change-Id: I675a29185c0401a8462ece17f70db82d188a53c5 --- sd/source/ui/app/optsitem.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sd/source') 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 ) { -- cgit