From 9278df2c21fed09b6b10465ca33b227ad7c49b41 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 19 Mar 2014 09:01:06 +0200 Subject: sfx2: sal_Bool->bool Change-Id: I73acb3a150b01114d32274a6842f6db9654b3e63 --- sfx2/source/doc/printhelper.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'sfx2/source/doc/printhelper.cxx') 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. -- cgit