summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-19 09:01:06 +0200
committerNoel Grandin <noel@peralex.com>2014-03-19 09:21:24 +0200
commit9278df2c21fed09b6b10465ca33b227ad7c49b41 (patch)
tree5dc447f593f0244e7e8c5848a8da34f25cc4aa41 /starmath
parent16752a8a773cf8096e28628237238a562016c4e5 (diff)
sfx2: sal_Bool->bool
Change-Id: I73acb3a150b01114d32274a6842f6db9654b3e63
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/view.hxx2
-rw-r--r--starmath/source/unomodel.cxx4
-rw-r--r--starmath/source/view.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index f231bda96351..8adadd82bb88 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -256,7 +256,7 @@ protected:
sal_uInt16 MaxWidth);
virtual sal_uInt16 Print(SfxProgress &rProgress, sal_Bool bIsAPI);
- virtual SfxPrinter *GetPrinter(sal_Bool bCreate = sal_False);
+ virtual SfxPrinter *GetPrinter(bool bCreate = false);
virtual sal_uInt16 SetPrinter(SfxPrinter *pNewPrinter,
sal_uInt16 nDiffFlags = SFX_PRINTER_ALL, bool bIsAPI=false);
diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx
index d517fcb5592f..0bafd5b1e900 100644
--- a/starmath/source/unomodel.cxx
+++ b/starmath/source/unomodel.cxx
@@ -1055,9 +1055,9 @@ void SAL_CALL SmModel::render(
//!! when called via API we may not have an active view
//!! thus we go and look for a view that can be used.
const TypeId aTypeId = TYPE( SmViewShell );
- SfxViewShell* pViewSh = SfxViewShell::GetFirst( &aTypeId, sal_False /* search non-visible views as well*/ );
+ SfxViewShell* pViewSh = SfxViewShell::GetFirst( &aTypeId, false /* search non-visible views as well*/ );
while (pViewSh && pViewSh->GetObjectShell() != pDocSh)
- pViewSh = SfxViewShell::GetNext( *pViewSh, &aTypeId, sal_False /* search non-visible views as well*/ );
+ pViewSh = SfxViewShell::GetNext( *pViewSh, &aTypeId, false /* search non-visible views as well*/ );
SmViewShell *pView = PTR_CAST( SmViewShell, pViewSh );
SAL_WARN_IF( !pView, "starmath", "SmModel::render : no SmViewShell found" );
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index c3d5c493edbf..06863207385d 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -1350,7 +1350,7 @@ sal_uInt16 SmViewShell::Print(SfxProgress & /*rProgress*/, sal_Bool /*bIsAPI*/)
}
-SfxPrinter* SmViewShell::GetPrinter(sal_Bool bCreate)
+SfxPrinter* SmViewShell::GetPrinter(bool bCreate)
{
SAL_INFO( "starmath", "SmViewShell::GetPrinter" );