summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-20 14:17:27 +0200
committerNoel Grandin <noel@peralex.com>2014-02-21 12:19:24 +0200
commitb7180bd14fb5684886f8f90dbd1fa59bf6f0193a (patch)
treef9d36ff11842732fb75de35f2de2dff6c686761e /sd
parent7e06ccad8f4d654585f3aa6dbdf2933370d60756 (diff)
editeng: sal_Bool->bool
Change-Id: Ia9b76985ea0b9c511208b8283c8487c89aa67b88
Diffstat (limited to 'sd')
-rw-r--r--sd/source/filter/html/htmlex.cxx2
-rw-r--r--sd/source/ui/annotations/annotationmanager.cxx2
-rw-r--r--sd/source/ui/presenter/PresenterTextView.cxx6
3 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/filter/html/htmlex.cxx b/sd/source/filter/html/htmlex.cxx
index f58c4dcc7633..e3590fe7993c 100644
--- a/sd/source/filter/html/htmlex.cxx
+++ b/sd/source/filter/html/htmlex.cxx
@@ -1283,7 +1283,7 @@ OUString HtmlExport::ParagraphToHTMLString( SdrOutliner* pOutliner, sal_Int32 nP
// TODO: MALTE!!!
EditEngine& rEditEngine = *(EditEngine*)&pOutliner->GetEditEngine();
bool bOldUpdateMode = rEditEngine.GetUpdateMode();
- rEditEngine.SetUpdateMode(sal_True);
+ rEditEngine.SetUpdateMode(true);
Paragraph* pPara = pOutliner->GetParagraph(nPara);
if(NULL == pPara)
diff --git a/sd/source/ui/annotations/annotationmanager.cxx b/sd/source/ui/annotations/annotationmanager.cxx
index 256f0ec3a555..ec998abda243 100644
--- a/sd/source/ui/annotations/annotationmanager.cxx
+++ b/sd/source/ui/annotations/annotationmanager.cxx
@@ -111,7 +111,7 @@ SfxItemPool* GetAnnotationPool()
static SfxItemPool* mpAnnotationPool = 0;
if( mpAnnotationPool == 0 )
{
- mpAnnotationPool = EditEngine::CreatePool( sal_False );
+ mpAnnotationPool = EditEngine::CreatePool( false );
mpAnnotationPool->SetPoolDefaultItem(SvxFontHeightItem(423,100,EE_CHAR_FONTHEIGHT));
Font aAppFont( Application::GetSettings().GetStyleSettings().GetAppFont() );
diff --git a/sd/source/ui/presenter/PresenterTextView.cxx b/sd/source/ui/presenter/PresenterTextView.cxx
index c26d5aab2de9..ae8627ecf312 100644
--- a/sd/source/ui/presenter/PresenterTextView.cxx
+++ b/sd/source/ui/presenter/PresenterTextView.cxx
@@ -390,7 +390,7 @@ EditEngine* PresenterTextView::Implementation::CreateEditEngine (void)
pEditEngine = new EditEngine (mpEditEngineItemPool);
- pEditEngine->EnableUndo (sal_True);
+ pEditEngine->EnableUndo (true);
pEditEngine->SetDefTab (sal_uInt16(
Application::GetDefaultDevice()->GetTextWidth(OUString("XXXX"))));
@@ -443,8 +443,8 @@ void PresenterTextView::Implementation::SetBackgroundColor (const Color aColor)
DBG_ASSERT(mpEditEngine!=NULL, "EditEngine missing");
DBG_ASSERT(mpEditEngineItemPool!=NULL, "EditEngineItemPool missing");
mpEditEngine->SetBackgroundColor(aColor);
- mpEditEngine->EnableAutoColor(sal_False);
- mpEditEngine->ForceAutoColor(sal_False);
+ mpEditEngine->EnableAutoColor(false);
+ mpEditEngine->ForceAutoColor(false);
}