summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--oox/inc/oox/drawingml/textspacing.hxx6
-rw-r--r--oox/source/drawingml/textspacingcontext.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/oox/inc/oox/drawingml/textspacing.hxx b/oox/inc/oox/drawingml/textspacing.hxx
index c960d7acb5c7..c85936283b4b 100644
--- a/oox/inc/oox/drawingml/textspacing.hxx
+++ b/oox/inc/oox/drawingml/textspacing.hxx
@@ -37,10 +37,10 @@ namespace oox { namespace drawingml {
PERCENT
};
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 aSpacing;
@@ -59,7 +59,7 @@ namespace oox { namespace drawingml {
}
sal_Int32 nUnit;
sal_Int32 nValue;
- sal_Bool bHasValue;
+ bool bHasValue;
};
} }
diff --git a/oox/source/drawingml/textspacingcontext.cxx b/oox/source/drawingml/textspacingcontext.cxx
index 9e7da4c7e8aa..a4d710186600 100644
--- a/oox/source/drawingml/textspacingcontext.cxx
+++ b/oox/source/drawingml/textspacingcontext.cxx
@@ -32,7 +32,7 @@ namespace oox { namespace drawingml {
: ContextHandler( rParent )
, maSpacing( aSpacing )
{
- maSpacing.bHasValue = sal_True;
+ maSpacing.bHasValue = true;
}
void TextSpacingContext::endFastElement( sal_Int32 /*nElement*/ )