diff options
author | Noel Grandin <noel@peralex.com> | 2014-04-22 14:14:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-04-23 11:11:50 +0200 |
commit | 2692047aacef7b4288f995ce6ff2db5e16b71014 (patch) | |
tree | 2d43552ad1a01cfb6287d54f35b5ae3ca538393b /lotuswordpro/source/filter/lwpdrawobj.cxx | |
parent | ca56379f27c53d4fa015d7adbb9494186f506de6 (diff) |
lotuswordpro: sal_Bool->bool
Change-Id: I017d284a2fbc8d50a9928c9d934ffe710b0c652f
Diffstat (limited to 'lotuswordpro/source/filter/lwpdrawobj.cxx')
-rw-r--r-- | lotuswordpro/source/filter/lwpdrawobj.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lotuswordpro/source/filter/lwpdrawobj.cxx b/lotuswordpro/source/filter/lwpdrawobj.cxx index 26ecedc45ce4..d3ac87db2bb8 100644 --- a/lotuswordpro/source/filter/lwpdrawobj.cxx +++ b/lotuswordpro/source/filter/lwpdrawobj.cxx @@ -317,11 +317,11 @@ void LwpDrawObj::SetArrowHead(XFDrawStyle* pOpenedObjStyle, sal_uInt8 nArrowFlag if (nLeftArrow) { - pOpenedObjStyle->SetArrowStart( this->GetArrowName(nLeftArrow), fArrowSize, sal_True); + pOpenedObjStyle->SetArrowStart( this->GetArrowName(nLeftArrow), fArrowSize, true); } if (nRightArrow) { - pOpenedObjStyle->SetArrowEnd( this->GetArrowName(nRightArrow), fArrowSize, sal_True); + pOpenedObjStyle->SetArrowEnd( this->GetArrowName(nRightArrow), fArrowSize, true); } } @@ -710,7 +710,7 @@ XFFrame* LwpDrawRectangle::CreateDrawObj(const OUString& rStyleName) } pRect->LineTo(XFPoint((double)m_aVector[0].x/TWIPS_PER_CM * m_pTransData->fScaleX, (double)m_aVector[0].y/TWIPS_PER_CM * m_pTransData->fScaleY)); - pRect->ClosePath(sal_True); + pRect->ClosePath(true); this->SetPosition(pRect); pRect->SetStyleName(rStyleName); @@ -754,7 +754,7 @@ XFFrame* LwpDrawRectangle::CreateRoundedRect(const OUString& rStyleName) pRoundedRect->LineTo(XFPoint((double)m_aVector[0].x/TWIPS_PER_CM * m_pTransData->fScaleX, (double)m_aVector[0].y/TWIPS_PER_CM * m_pTransData->fScaleY)); - pRoundedRect->ClosePath(sal_True); + pRoundedRect->ClosePath(true); this->SetPosition(pRoundedRect); pRoundedRect->SetStyleName(rStyleName); @@ -871,7 +871,7 @@ XFFrame* LwpDrawEllipse::CreateDrawObj(const OUString& rStyleName ) pEllipse->CurveTo(aDest, aCtrl1, aCtrl2); } - pEllipse->ClosePath(sal_True); + pEllipse->ClosePath(true); this->SetPosition(pEllipse); pEllipse->SetStyleName(rStyleName); @@ -981,9 +981,9 @@ void LwpDrawTextBox::SetFontStyle(XFFont* pFont, SdwTextBoxRecord* pRec) //size pFont->SetFontSize(pRec->nTextSize/20); // bold - pFont->SetBold((sal_Bool)((pRec->nTextAttrs & TA_BOLD) != 0)); + pFont->SetBold(((pRec->nTextAttrs & TA_BOLD) != 0)); // italic - pFont->SetItalic((sal_Bool)((pRec->nTextAttrs & TA_ITALIC) != 0)); + pFont->SetItalic(((pRec->nTextAttrs & TA_ITALIC) != 0)); // strike-through if (pRec->nTextAttrs & TA_STRIKETHRU) { @@ -1000,7 +1000,7 @@ void LwpDrawTextBox::SetFontStyle(XFFont* pFont, SdwTextBoxRecord* pRec) } else if (pRec->nTextAttrs & TA_WORDUNDERLINE) { - pFont->SetUnderline(enumXFUnderlineSingle, sal_True); + pFont->SetUnderline(enumXFUnderlineSingle, true); } else if (pRec->nTextAttrs & TA_DOUBLEUNDER) { @@ -1082,7 +1082,7 @@ OUString LwpDrawTextBox::RegisterStyle() XFFrame* LwpDrawTextBox::CreateDrawObj(const OUString& rStyleName ) { - XFFrame* pTextBox = new XFFrame(sal_True); + XFFrame* pTextBox = new XFFrame(true); sal_Int16 TextLength = m_aObjHeader.nRecLen - 71; rtl_TextEncoding aEncoding; |