diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-19 16:04:30 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-21 12:19:22 +0200 |
commit | e41ed900a460e6fe797d176b58c1c5269a5f84e1 (patch) | |
tree | e7e7e601031cbf24ed7c6848ed0582f21a2d1742 | |
parent | 327dde336ed3a318c08dd19894b0fd84c9a0eb57 (diff) |
sal_Bool->bool
Change-Id: I2849ab93619a0a8c9d28b3c43d370ee483820678
-rw-r--r-- | editeng/source/items/borderline.cxx | 4 | ||||
-rw-r--r-- | editeng/source/items/frmitems.cxx | 10 | ||||
-rw-r--r-- | include/editeng/borderline.hxx | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx index e80685e33ae7..4a59051ee76f 100644 --- a/editeng/source/items/borderline.cxx +++ b/editeng/source/items/borderline.cxx @@ -516,7 +516,7 @@ sal_uInt16 SvxBorderLine::GetDistance() const // ----------------------------------------------------------------------- -sal_Bool SvxBorderLine::operator==( const SvxBorderLine& rCmp ) const +bool SvxBorderLine::operator==( const SvxBorderLine& rCmp ) const { return ( ( aColor == rCmp.aColor ) && ( m_nWidth == rCmp.m_nWidth ) && @@ -616,7 +616,7 @@ Color SvxBorderLine::GetColorGap( ) const OUString SvxBorderLine::GetValueString( SfxMapUnit eSrcUnit, SfxMapUnit eDestUnit, const IntlWrapper* pIntl, - sal_Bool bMetricStr) const + bool bMetricStr) const { static const sal_uInt16 aStyleIds[] = { diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 7c6de8202872..c70dd1d0b956 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -2154,7 +2154,7 @@ SfxItemPresentation SvxBoxItem::GetPresentation if( pTop && pBottom && pLeft && pRight && *pTop == *pBottom && *pTop == *pLeft && *pTop == *pRight ) { - rText += pTop->GetValueString( eCoreUnit, ePresUnit, pIntl, sal_True ) + cpDelimTmp; + rText += pTop->GetValueString( eCoreUnit, ePresUnit, pIntl, true ) + cpDelimTmp; } else { @@ -2162,28 +2162,28 @@ SfxItemPresentation SvxBoxItem::GetPresentation { rText = rText + EE_RESSTR(RID_SVXITEMS_BORDER_TOP) + - pTop->GetValueString( eCoreUnit, ePresUnit, pIntl, sal_True ) + + pTop->GetValueString( eCoreUnit, ePresUnit, pIntl, true ) + cpDelimTmp; } if ( pBottom ) { rText = rText + EE_RESSTR(RID_SVXITEMS_BORDER_BOTTOM) + - pBottom->GetValueString( eCoreUnit, ePresUnit, pIntl, sal_True ) + + pBottom->GetValueString( eCoreUnit, ePresUnit, pIntl, true ) + cpDelimTmp; } if ( pLeft ) { rText = rText + EE_RESSTR(RID_SVXITEMS_BORDER_LEFT) + - pLeft->GetValueString( eCoreUnit, ePresUnit, pIntl, sal_True ) + + pLeft->GetValueString( eCoreUnit, ePresUnit, pIntl, true ) + cpDelimTmp; } if ( pRight ) { rText = rText + EE_RESSTR(RID_SVXITEMS_BORDER_RIGHT) + - pRight->GetValueString( eCoreUnit, ePresUnit, pIntl, sal_True ) + + pRight->GetValueString( eCoreUnit, ePresUnit, pIntl, true ) + cpDelimTmp; } } diff --git a/include/editeng/borderline.hxx b/include/editeng/borderline.hxx index eba1dcc60b06..760cce994513 100644 --- a/include/editeng/borderline.hxx +++ b/include/editeng/borderline.hxx @@ -131,11 +131,11 @@ namespace editeng { void SetBorderLineStyle( SvxBorderStyle nNew ); void ScaleMetrics( long nMult, long nDiv ); - sal_Bool operator==( const SvxBorderLine &rCmp ) const; + bool operator==( const SvxBorderLine &rCmp ) const; OUString GetValueString( SfxMapUnit eSrcUnit, SfxMapUnit eDestUnit, const IntlWrapper* pIntl, - sal_Bool bMetricStr = sal_False ) const; + bool bMetricStr = false ) const; bool HasPriority( const SvxBorderLine& rOtherLine ) const; |