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 /chart2 | |
parent | d1bffe3596d21f205cb7a2697bb5142f190b5627 (diff) |
svx: sal_Bool->bool
Change-Id: I78da39fc553b2e5040ee6665377ea51a1c4d04d7
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/main/ChartController_TextEdit.cxx | 6 | ||||
-rw-r--r-- | chart2/source/controller/main/ShapeController.cxx | 16 | ||||
-rw-r--r-- | chart2/source/view/main/DrawModelWrapper.cxx | 2 |
3 files changed, 12 insertions, 12 deletions
diff --git a/chart2/source/controller/main/ChartController_TextEdit.cxx b/chart2/source/controller/main/ChartController_TextEdit.cxx index ea3b24a417b0..ace308d08fdd 100644 --- a/chart2/source/controller/main/ChartController_TextEdit.cxx +++ b/chart2/source/controller/main/ChartController_TextEdit.cxx @@ -76,11 +76,11 @@ void ChartController::StartTextEdit( const Point* pMousePixel ) sal_Bool bEdit = m_pDrawViewWrapper->SdrBeginTextEdit( pTextObj , m_pDrawViewWrapper->GetPageView() , m_pChartWindow - , sal_False //bIsNewObj + , false //bIsNewObj , pOutliner , 0L //pOutlinerView - , sal_True //bDontDeleteOutliner - , sal_True //bOnlyOneView + , true //bDontDeleteOutliner + , true //bOnlyOneView ); if(bEdit) { diff --git a/chart2/source/controller/main/ShapeController.cxx b/chart2/source/controller/main/ShapeController.cxx index f5cbd24b4b9c..e16c66435831 100644 --- a/chart2/source/controller/main/ShapeController.cxx +++ b/chart2/source/controller/main/ShapeController.cxx @@ -262,7 +262,7 @@ void ShapeController::executeDispatch_FormatLine() sal_Bool bHasMarked = pDrawViewWrapper->AreObjectsMarked(); if ( bHasMarked ) { - pDrawViewWrapper->MergeAttrFromMarked( aAttr, sal_False ); + pDrawViewWrapper->MergeAttrFromMarked( aAttr, false ); } SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); if ( pFact ) @@ -275,11 +275,11 @@ void ShapeController::executeDispatch_FormatLine() const SfxItemSet* pOutAttr = pDlg->GetOutputItemSet(); if ( bHasMarked ) { - pDrawViewWrapper->SetAttrToMarked( *pOutAttr, sal_False ); + pDrawViewWrapper->SetAttrToMarked( *pOutAttr, false ); } else { - pDrawViewWrapper->SetDefaultAttr( *pOutAttr, sal_False ); + pDrawViewWrapper->SetDefaultAttr( *pOutAttr, false ); } } } @@ -301,7 +301,7 @@ void ShapeController::executeDispatch_FormatArea() sal_Bool bHasMarked = pDrawViewWrapper->AreObjectsMarked(); if ( bHasMarked ) { - pDrawViewWrapper->MergeAttrFromMarked( aAttr, sal_False ); + pDrawViewWrapper->MergeAttrFromMarked( aAttr, false ); } SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); if ( pFact ) @@ -318,11 +318,11 @@ void ShapeController::executeDispatch_FormatArea() const SfxItemSet* pOutAttr = pDlg->GetOutputItemSet(); if ( bHasMarked ) { - pDrawViewWrapper->SetAttrToMarked( *pOutAttr, sal_False ); + pDrawViewWrapper->SetAttrToMarked( *pOutAttr, false ); } else { - pDrawViewWrapper->SetDefaultAttr( *pOutAttr, sal_False ); + pDrawViewWrapper->SetDefaultAttr( *pOutAttr, false ); } } } @@ -344,7 +344,7 @@ void ShapeController::executeDispatch_TextAttributes() sal_Bool bHasMarked = pDrawViewWrapper->AreObjectsMarked(); if ( bHasMarked ) { - pDrawViewWrapper->MergeAttrFromMarked( aAttr, sal_False ); + pDrawViewWrapper->MergeAttrFromMarked( aAttr, false ); } SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create(); if ( pFact ) @@ -360,7 +360,7 @@ void ShapeController::executeDispatch_TextAttributes() } else { - pDrawViewWrapper->SetDefaultAttr( *pOutAttr, sal_False ); + pDrawViewWrapper->SetDefaultAttr( *pOutAttr, false ); } } } diff --git a/chart2/source/view/main/DrawModelWrapper.cxx b/chart2/source/view/main/DrawModelWrapper.cxx index 8fd5bbe561c8..6d6954cb22ef 100644 --- a/chart2/source/view/main/DrawModelWrapper.cxx +++ b/chart2/source/view/main/DrawModelWrapper.cxx @@ -103,7 +103,7 @@ namespace chart { DrawModelWrapper::DrawModelWrapper( const uno::Reference<uno::XComponentContext>& /*xContext*/ ) - : SdrModel( SvtPathOptions().GetPalettePath() ) + : SdrModel( SvtPathOptions().GetPalettePath(), NULL, NULL, false, false ) , m_pChartItemPool(0) , m_xMainDrawPage(0) , m_xHiddenDrawPage(0) |