Kaydet (Commit) 04eee686 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Noel Power

sal_Bool -> bool

Change-Id: I6356c71e236e89c54081a852b3b55eb87b95bce8
üst f8752a76
...@@ -37,10 +37,10 @@ namespace oox { namespace drawingml { ...@@ -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 { ...@@ -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;
}; };
} } } }
......
...@@ -32,7 +32,7 @@ namespace oox { namespace drawingml { ...@@ -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*/ )
......
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