diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-10 11:09:59 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:24 +0200 |
commit | 6c97bc47177adc1c51f69f17e77b9fe2aeade122 (patch) | |
tree | f0ae47f9be3c2a72b3b197681ca65644bf82ecfe /svx/source/svdraw/svdotxed.cxx | |
parent | d1bffe3596d21f205cb7a2697bb5142f190b5627 (diff) |
svx: sal_Bool->bool
Change-Id: I78da39fc553b2e5040ee6665377ea51a1c4d04d7
Diffstat (limited to 'svx/source/svdraw/svdotxed.cxx')
-rw-r--r-- | svx/source/svdraw/svdotxed.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/svdraw/svdotxed.cxx b/svx/source/svdraw/svdotxed.cxx index eb5d9d8dd51c..0d9c70d87dff 100644 --- a/svx/source/svdraw/svdotxed.cxx +++ b/svx/source/svdraw/svdotxed.cxx @@ -35,12 +35,12 @@ bool SdrTextObj::HasTextEdit() const return true; } -sal_Bool SdrTextObj::BegTextEdit(SdrOutliner& rOutl) +bool SdrTextObj::BegTextEdit(SdrOutliner& rOutl) { - if (pEdtOutl!=NULL) return sal_False; // Textedit might already run in another View! + if (pEdtOutl!=NULL) return false; // Textedit might already run in another View! pEdtOutl=&rOutl; - mbInEditMode = sal_True; + mbInEditMode = true; sal_uInt16 nOutlinerMode = OUTLINERMODE_OUTLINEOBJECT; if ( !IsOutlText() ) @@ -115,7 +115,7 @@ sal_Bool SdrTextObj::BegTextEdit(SdrOutliner& rOutl) rOutl.UpdateFields(); rOutl.ClearModifyFlag(); - return sal_True; + return true; } void SdrTextObj::TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, Rectangle* pViewInit, Rectangle* pViewMin) const @@ -264,7 +264,7 @@ void SdrTextObj::EndTextEdit(SdrOutliner& rOutl) // need to end edit mode early since SetOutlinerParaObject already // uses GetCurrentBoundRect() which needs to take the text into account // to work correct - mbInEditMode = sal_False; + mbInEditMode = false; SetOutlinerParaObject(pNewText); } @@ -274,7 +274,7 @@ void SdrTextObj::EndTextEdit(SdrOutliner& rOutl) nStat &= ~EE_CNTRL_AUTOPAGESIZE; rOutl.SetControlWord(nStat); - mbInEditMode = sal_False; + mbInEditMode = false; } sal_uInt16 SdrTextObj::GetOutlinerViewAnchorMode() const @@ -327,7 +327,7 @@ void SdrTextObj::ImpSetTextEditParams() const if (bContourFrame) { Rectangle aAnchorRect; TakeTextAnchorRect(aAnchorRect); - ImpSetContourPolygon(*pEdtOutl,aAnchorRect, sal_True); + ImpSetContourPolygon(*pEdtOutl,aAnchorRect, true); } if (bUpdMerk) pEdtOutl->SetUpdateMode(true); } |