diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-10 11:09:59 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:24 +0200 |
commit | 6c97bc47177adc1c51f69f17e77b9fe2aeade122 (patch) | |
tree | f0ae47f9be3c2a72b3b197681ca65644bf82ecfe /reportdesign | |
parent | d1bffe3596d21f205cb7a2697bb5142f190b5627 (diff) |
svx: sal_Bool->bool
Change-Id: I78da39fc553b2e5040ee6665377ea51a1c4d04d7
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/core/sdr/RptModel.cxx | 2 | ||||
-rw-r--r-- | reportdesign/source/core/sdr/RptObject.cxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/report/ReportSection.cxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/report/SectionView.cxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/report/ViewsWindow.cxx | 4 | ||||
-rw-r--r-- | reportdesign/source/ui/report/dlgedfunc.cxx | 8 |
6 files changed, 13 insertions, 13 deletions
diff --git a/reportdesign/source/core/sdr/RptModel.cxx b/reportdesign/source/core/sdr/RptModel.cxx index 58c80ab0e3ac..97914fe00011 100644 --- a/reportdesign/source/core/sdr/RptModel.cxx +++ b/reportdesign/source/core/sdr/RptModel.cxx @@ -48,7 +48,7 @@ TYPEINIT1(OReportModel,SdrModel); OReportModel::OReportModel(::reportdesign::OReportDefinition* _pReportDefinition) : - SdrModel(SvtPathOptions().GetPalettePath(),NULL,_pReportDefinition) + SdrModel(SvtPathOptions().GetPalettePath(),NULL,_pReportDefinition, false, false) ,m_pController(NULL) ,m_pReportDefinition(_pReportDefinition) { diff --git a/reportdesign/source/core/sdr/RptObject.cxx b/reportdesign/source/core/sdr/RptObject.cxx index ec5082a1ca6b..2ffd70f56673 100644 --- a/reportdesign/source/core/sdr/RptObject.cxx +++ b/reportdesign/source/core/sdr/RptObject.cxx @@ -613,7 +613,7 @@ TYPEINIT1(OUnoObject, SdrUnoObj); OUnoObject::OUnoObject(const OUString& _sComponentName ,const OUString& rModelName ,sal_uInt16 _nObjectType) - :SdrUnoObj(rModelName, sal_True) + :SdrUnoObj(rModelName, true) ,OObjectBase(_sComponentName) ,m_nObjectType(_nObjectType) { @@ -624,7 +624,7 @@ OUnoObject::OUnoObject(const OUString& _sComponentName OUnoObject::OUnoObject(const uno::Reference< report::XReportComponent>& _xComponent ,const OUString& rModelName ,sal_uInt16 _nObjectType) - :SdrUnoObj(rModelName, sal_True) + :SdrUnoObj(rModelName, true) ,OObjectBase(_xComponent) ,m_nObjectType(_nObjectType) { diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx index 27f1a4ca5fea..e3c45673a4fc 100644 --- a/reportdesign/source/ui/report/ReportSection.cxx +++ b/reportdesign/source/ui/report/ReportSection.cxx @@ -192,7 +192,7 @@ void OReportSection::fill() // without the following call, no grid is painted m_pView->ShowSdrPage( m_pPage ); - m_pView->SetMoveSnapOnlyTopLeft( sal_True ); + m_pView->SetMoveSnapOnlyTopLeft( true ); ODesignView* pDesignView = m_pParent->getViewsWindow()->getView()->getReportView(); // #i93595# Adapted grid to a more coarse grid and subdivisions for better visualisation. This @@ -209,7 +209,7 @@ void OReportSection::fill() m_pView->SetGridSnap( pDesignView->isGridSnap() ); m_pView->SetGridFront( false ); - m_pView->SetDragStripes( sal_True ); + m_pView->SetDragStripes( true ); m_pView->SetPageVisible(); sal_Int32 nColor = m_xSection->getBackColor(); if ( nColor == (sal_Int32)COL_TRANSPARENT ) diff --git a/reportdesign/source/ui/report/SectionView.cxx b/reportdesign/source/ui/report/SectionView.cxx index 526ed9688ce1..78df59de958e 100644 --- a/reportdesign/source/ui/report/SectionView.cxx +++ b/reportdesign/source/ui/report/SectionView.cxx @@ -46,7 +46,7 @@ OSectionView::OSectionView( SdrModel* pModel, OReportSection* _pSectionWindow, O SetBufferedOverlayAllowed(true); SetPageBorderVisible(false); SetBordVisible(); - SetQuickTextEditMode(sal_False); + SetQuickTextEditMode(false); } @@ -155,7 +155,7 @@ void OSectionView::ObjectRemovedInAliveMode( const SdrObject* _pObject ) { SdrPageView* pPgView = GetSdrPageView(); BrkAction(); - MarkObj( pSdrObj, pPgView, sal_True ); + MarkObj( pSdrObj, pPgView, true ); break; } } diff --git a/reportdesign/source/ui/report/ViewsWindow.cxx b/reportdesign/source/ui/report/ViewsWindow.cxx index 9ca6852ab092..19cf7ab9c90a 100644 --- a/reportdesign/source/ui/report/ViewsWindow.cxx +++ b/reportdesign/source/ui/report/ViewsWindow.cxx @@ -1252,7 +1252,7 @@ void OViewsWindow::EndDragObj(sal_Bool _bControlKeyPressed, const OSectionView* rReportSection.Copy(aAllreadyCopiedObjects,true); } else - pInSection->EndDragObj(sal_False); + pInSection->EndDragObj(false); } if ( aAllreadyCopiedObjects.getLength() ) @@ -1596,7 +1596,7 @@ void OViewsWindow::handleKey(const KeyCode& _rCode) if ( !bWasNoSnap ) ((SdrDragStat&)rDragStat).SetNoSnap( true ); if ( bWasSnapEnabled ) - rView.SetSnapEnabled( sal_False ); + rView.SetSnapEnabled( false ); Rectangle aNewRect; bool bCheck = false; diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx b/reportdesign/source/ui/report/dlgedfunc.cxx index 163c3aef5136..cf302d6ff523 100644 --- a/reportdesign/source/ui/report/dlgedfunc.cxx +++ b/reportdesign/source/ui/report/dlgedfunc.cxx @@ -654,14 +654,14 @@ bool DlgEdFunc::setMovementPointer(const MouseEvent& rMEvt) DlgEdFuncInsert::DlgEdFuncInsert( OReportSection* _pParent ) : DlgEdFunc( _pParent ) { - m_rView.SetCreateMode( sal_True ); + m_rView.SetCreateMode( true ); } DlgEdFuncInsert::~DlgEdFuncInsert() { - m_rView.SetEditMode( sal_True ); + m_rView.SetEditMode( true ); } @@ -726,7 +726,7 @@ sal_Bool DlgEdFuncInsert::MouseButtonUp( const MouseEvent& rMEvt ) { m_pParent->getSectionWindow()->getViewsWindow()->BrkAction(); // BrkAction disables the create mode - m_rView.SetCreateMode( sal_True ); + m_rView.SetCreateMode( true ); return sal_True; } @@ -859,7 +859,7 @@ sal_Bool DlgEdFuncSelect::MouseButtonDown( const MouseEvent& rMEvt ) } else { - m_rView.SdrBeginTextEdit( aVEvt.pRootObj,m_rView.GetSdrPageView(),m_pParent,sal_False ); + m_rView.SdrBeginTextEdit( aVEvt.pRootObj,m_rView.GetSdrPageView(),m_pParent, false ); } } |