diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-17 13:38:26 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-18 11:27:38 +0200 |
commit | ac01de882d368c4d8044361f874edd4b53e33f2b (patch) | |
tree | 50b56ce1efa549fec4b69d04ae9f1cd4ecb3ccfe /sd/source/core | |
parent | 399724aba4b7297a262a775d000ddf4534e38b6c (diff) |
sfx2: sal_Bool->bool
Change-Id: I87c5a180566e9da185c2992844e6522e82c17747
Diffstat (limited to 'sd/source/core')
-rw-r--r-- | sd/source/core/drawdoc2.cxx | 4 | ||||
-rw-r--r-- | sd/source/core/drawdoc3.cxx | 6 | ||||
-rw-r--r-- | sd/source/core/drawdoc4.cxx | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/sd/source/core/drawdoc2.cxx b/sd/source/core/drawdoc2.cxx index d1211c4f6aea..63de29cdc04d 100644 --- a/sd/source/core/drawdoc2.cxx +++ b/sd/source/core/drawdoc2.cxx @@ -858,7 +858,7 @@ LanguageType SdDrawDocument::GetLanguage( const sal_uInt16 nId ) const IMPL_LINK_NOARG(SdDrawDocument, WorkStartupHdl) { if( mpDocSh ) - mpDocSh->SetWaitCursor( sal_True ); + mpDocSh->SetWaitCursor( true ); sal_Bool bChanged = IsChanged(); // remember this @@ -890,7 +890,7 @@ IMPL_LINK_NOARG(SdDrawDocument, WorkStartupHdl) SetChanged(bChanged); if( mpDocSh ) - mpDocSh->SetWaitCursor( sal_False ); + mpDocSh->SetWaitCursor( false ); return 0; } diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx index f8654f0dbe15..b7c9d83f3df6 100644 --- a/sd/source/core/drawdoc3.cxx +++ b/sd/source/core/drawdoc3.cxx @@ -1393,7 +1393,7 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum, sal_Bool bCheckMasters) { if( mpDocSh ) - mpDocSh->SetWaitCursor( sal_True ); + mpDocSh->SetWaitCursor( true ); ::svl::IUndoManager* pUndoMgr = mpDocSh->GetUndoManager(); @@ -1467,7 +1467,7 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum, pUndoMgr->LeaveListAction(); if( mpDocSh ) - mpDocSh->SetWaitCursor( sal_False ); + mpDocSh->SetWaitCursor( false ); OSL_FAIL( "SdDrawDocument::SetMasterPage() failed!" ); @@ -1892,7 +1892,7 @@ void SdDrawDocument::SetMasterPage(sal_uInt16 nSdPageNum, pUndoMgr->LeaveListAction(); if( mpDocSh ) - mpDocSh->SetWaitCursor( sal_False ); + mpDocSh->SetWaitCursor( false ); } void SdDrawDocument::Merge(SdrModel& rSourceModel, diff --git a/sd/source/core/drawdoc4.cxx b/sd/source/core/drawdoc4.cxx index f8429c582333..71a2dc210ee6 100644 --- a/sd/source/core/drawdoc4.cxx +++ b/sd/source/core/drawdoc4.cxx @@ -1353,13 +1353,13 @@ void ModifyGuard::init() mbIsDocumentChanged = mpDoc ? mpDoc->IsChanged() : false; if( mbIsEnableSetModified ) - mpDocShell->EnableSetModified( sal_False ); + mpDocShell->EnableSetModified( false ); } ModifyGuard::~ModifyGuard() { if( mbIsEnableSetModified ) - mpDocShell->EnableSetModified( sal_True ); + mpDocShell->EnableSetModified( true ); if( mpDoc && (mpDoc->IsChanged() != mbIsDocumentChanged) ) mpDoc->SetChanged(mbIsDocumentChanged); |