summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-09-25 13:02:59 +0200
committerNoel Power <noel.power@suse.com>2012-09-26 11:20:34 +0100
commit04eee686fc6b8cd95f7210fe0426316e7fc7aac0 (patch)
tree1e688ebc44503e0689e3025df052668eb4416fdd /oox
parentf8752a760f18a54f6e5907f3d7567be7af69b584 (diff)
sal_Bool -> bool
Change-Id: I6356c71e236e89c54081a852b3b55eb87b95bce8
Diffstat (limited to 'oox')
-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*/ )