diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-19 09:01:06 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-19 09:21:24 +0200 |
commit | 9278df2c21fed09b6b10465ca33b227ad7c49b41 (patch) | |
tree | 5dc447f593f0244e7e8c5848a8da34f25cc4aa41 /sfx2/source/doc/printhelper.cxx | |
parent | 16752a8a773cf8096e28628237238a562016c4e5 (diff) |
sfx2: sal_Bool->bool
Change-Id: I73acb3a150b01114d32274a6842f6db9654b3e63
Diffstat (limited to 'sfx2/source/doc/printhelper.cxx')
-rw-r--r-- | sfx2/source/doc/printhelper.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sfx2/source/doc/printhelper.cxx b/sfx2/source/doc/printhelper.cxx index d92a31fb80b1..2b1c529862d2 100644 --- a/sfx2/source/doc/printhelper.cxx +++ b/sfx2/source/doc/printhelper.cxx @@ -260,17 +260,17 @@ uno::Sequence< beans::PropertyValue > SAL_CALL SfxPrintHelper::getPrinter() thro // search for any view of this document that is currently printing const Printer *pPrinter = NULL; - SfxViewFrame *pViewFrm = m_pData->m_pObjectShell.Is() ? SfxViewFrame::GetFirst( m_pData->m_pObjectShell, sal_False ) : 0; + SfxViewFrame *pViewFrm = m_pData->m_pObjectShell.Is() ? SfxViewFrame::GetFirst( m_pData->m_pObjectShell, false ) : 0; SfxViewFrame* pFirst = pViewFrm; while ( pViewFrm && !pPrinter ) { pPrinter = pViewFrm->GetViewShell()->GetActivePrinter(); - pViewFrm = SfxViewFrame::GetNext( *pViewFrm, m_pData->m_pObjectShell, sal_False ); + pViewFrm = SfxViewFrame::GetNext( *pViewFrm, m_pData->m_pObjectShell, false ); } // if no view is printing currently, use the permanent SfxPrinter instance if ( !pPrinter && pFirst ) - pPrinter = pFirst->GetViewShell()->GetPrinter(sal_True); + pPrinter = pFirst->GetViewShell()->GetPrinter(true); if ( !pPrinter ) return uno::Sequence< beans::PropertyValue >(); @@ -317,12 +317,12 @@ void SfxPrintHelper::impl_setPrinter(const uno::Sequence< beans::PropertyValue > { // Get old Printer SfxViewFrame *pViewFrm = m_pData->m_pObjectShell.Is() ? - SfxViewFrame::GetFirst( m_pData->m_pObjectShell, sal_False ) : 0; + SfxViewFrame::GetFirst( m_pData->m_pObjectShell, false ) : 0; if ( !pViewFrm ) return; pViewSh = pViewFrm->GetViewShell(); - pPrinter = pViewSh->GetPrinter(sal_True); + pPrinter = pViewSh->GetPrinter(true); if ( !pPrinter ) return; @@ -592,7 +592,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >& // get view for sfx printing capabilities SfxViewFrame *pViewFrm = m_pData->m_pObjectShell.Is() ? - SfxViewFrame::GetFirst( m_pData->m_pObjectShell, sal_False ) : 0; + SfxViewFrame::GetFirst( m_pData->m_pObjectShell, false ) : 0; if ( !pViewFrm ) return; SfxViewShell* pView = pViewFrm->GetViewShell(); @@ -765,7 +765,7 @@ void SAL_CALL SfxPrintHelper::print(const uno::Sequence< beans::PropertyValue >& // It doesn'tmatter if it is a real printer used or we print to a local file // nor if we print to a temp file and move it afterwards by using the ucb. // That will be handled later. see pUCBPrintFile below! - pView->ExecPrint( aCheckedArgs, sal_True, sal_False ); + pView->ExecPrint( aCheckedArgs, true, false ); // Ok - may be execution before has finished (or started!) printing. // And may it was a printing to a file. |