sal_Bool -> bool

Change-Id: I6356c71e236e89c54081a852b3b55eb87b95bce8
This commit is contained in:
Noel Grandin
2012-09-25 13:02:59 +02:00
committed by Noel Power
parent f8752a760f
commit 04eee686fc
2 changed files with 4 additions and 4 deletions

View File

@@ -37,10 +37,10 @@ namespace oox { namespace drawingml {
PERCENT PERCENT
}; };
TextSpacing() TextSpacing()
: nUnit( POINTS ), nValue( 0 ), bHasValue( sal_False ) : nUnit( POINTS ), nValue( 0 ), bHasValue( false )
{ {
} }
TextSpacing( sal_Int32 nPoints ) : nUnit( POINTS ), nValue( nPoints ), bHasValue( sal_True ){}; TextSpacing( sal_Int32 nPoints ) : nUnit( POINTS ), nValue( nPoints ), bHasValue( true ){};
::com::sun::star::style::LineSpacing toLineSpacing() const ::com::sun::star::style::LineSpacing toLineSpacing() const
{ {
::com::sun::star::style::LineSpacing aSpacing; ::com::sun::star::style::LineSpacing aSpacing;
@@ -59,7 +59,7 @@ namespace oox { namespace drawingml {
} }
sal_Int32 nUnit; sal_Int32 nUnit;
sal_Int32 nValue; sal_Int32 nValue;
sal_Bool bHasValue; bool bHasValue;
}; };
} } } }

View File

@@ -32,7 +32,7 @@ namespace oox { namespace drawingml {
: ContextHandler( rParent ) : ContextHandler( rParent )
, maSpacing( aSpacing ) , maSpacing( aSpacing )
{ {
maSpacing.bHasValue = sal_True; maSpacing.bHasValue = true;
} }
void TextSpacingContext::endFastElement( sal_Int32 /*nElement*/ ) void TextSpacingContext::endFastElement( sal_Int32 /*nElement*/ )