diff options
author | Noel Grandin <noel@peralex.com> | 2014-02-11 11:43:35 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-02-11 12:50:43 +0200 |
commit | 08c40a2474405b160aab96cabe115d8437d68f8a (patch) | |
tree | d423154f9ad8e44302f8ed7ae62b5d7d3013a71f /svx | |
parent | 785c4f10b87ab47b853abf947dfb21117d55cca1 (diff) |
sal_Bool->bool
Change-Id: I31fb9d5b49260fd1a8fc1312b01fd5632c97ab2e
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/_contdlg.cxx | 4 | ||||
-rw-r--r-- | svx/source/dialog/contwnd.cxx | 4 | ||||
-rw-r--r-- | svx/source/dialog/graphctl.cxx | 2 | ||||
-rw-r--r-- | svx/source/dialog/imapwnd.cxx | 12 | ||||
-rw-r--r-- | svx/source/svdraw/svdedxv.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdmodel.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdoole2.cxx | 2 |
7 files changed, 14 insertions, 14 deletions
diff --git a/svx/source/dialog/_contdlg.cxx b/svx/source/dialog/_contdlg.cxx index 39e21e279c8b..34d304259abd 100644 --- a/svx/source/dialog/_contdlg.cxx +++ b/svx/source/dialog/_contdlg.cxx @@ -361,7 +361,7 @@ void SvxSuperContourDlg::SetPolyPolygon( const PolyPolygon& rPolyPoly ) } aContourWnd.SetPolyPolygon( aPolyPoly ); - aContourWnd.GetSdrModel()->SetChanged( sal_True ); + aContourWnd.GetSdrModel()->SetChanged( true ); } PolyPolygon SvxSuperContourDlg::GetPolyPolygon( bool bRescaleToGraphic ) @@ -607,7 +607,7 @@ IMPL_LINK_NOARG(SvxSuperContourDlg, UpdateHdl) aUpdatePolyPoly = PolyPolygon(); bUpdateGraphicLinked = sal_False; - aContourWnd.GetSdrModel()->SetChanged( sal_False ); + aContourWnd.GetSdrModel()->SetChanged( false ); } GetBindings().Invalidate( SID_CONTOUR_EXEC ); diff --git a/svx/source/dialog/contwnd.cxx b/svx/source/dialog/contwnd.cxx index a6f0600bc9c1..e562116030d5 100644 --- a/svx/source/dialog/contwnd.cxx +++ b/svx/source/dialog/contwnd.cxx @@ -88,7 +88,7 @@ void ContourWindow::SetPolyPolygon( const PolyPolygon& rPolyPoly ) pView->CombineMarkedObjects( sal_False ); } - pModel->SetChanged( sal_False ); + pModel->SetChanged( false ); } const PolyPolygon& ContourWindow::GetPolyPolygon() @@ -108,7 +108,7 @@ const PolyPolygon& ContourWindow::GetPolyPolygon() aPolyPoly = PolyPolygon(aB2DPolyPolygon); } - pModel->SetChanged( sal_False ); + pModel->SetChanged( false ); } return aPolyPoly; diff --git a/svx/source/dialog/graphctl.cxx b/svx/source/dialog/graphctl.cxx index 2a5aa5f3f0f0..81b4d6e0449a 100644 --- a/svx/source/dialog/graphctl.cxx +++ b/svx/source/dialog/graphctl.cxx @@ -157,7 +157,7 @@ void GraphCtrl::InitSdrModel() pPage->SetSize( aGraphSize ); pPage->SetBorder( 0, 0, 0, 0 ); pModel->InsertPage( pPage ); - pModel->SetChanged( sal_False ); + pModel->SetChanged( false ); // Creating a View pView = new GraphCtrlView( pModel, this ); diff --git a/svx/source/dialog/imapwnd.cxx b/svx/source/dialog/imapwnd.cxx index 61fc25842c1d..bf6b89a1e777 100644 --- a/svx/source/dialog/imapwnd.cxx +++ b/svx/source/dialog/imapwnd.cxx @@ -127,7 +127,7 @@ sal_Bool IMapWindow::ReplaceActualIMapInfo( const NotifyInfo& rNewInfo ) pIMapObj->SetURL( rNewInfo.aMarkURL ); pIMapObj->SetAltText( rNewInfo.aMarkAltText ); pIMapObj->SetTarget( rNewInfo.aMarkTarget ); - pModel->SetChanged( sal_True ); + pModel->SetChanged( true ); UpdateInfo( sal_False ); bRet = sal_True; @@ -152,7 +152,7 @@ const ImageMap& IMapWindow::GetImageMap() aIMap.InsertIMapObject( *( ( (IMapUserData*) pPage->GetObj( i )->GetUserData( 0 ) )->GetObject() ) ); } - pModel->SetChanged( sal_False ); + pModel->SetChanged( false ); } return aIMap; @@ -167,7 +167,7 @@ void IMapWindow::SetTargetList( TargetList& rTargetList ) for( size_t i = 0, n = rTargetList.size(); i < n; ++i ) aTargetList.push_back( rTargetList[ i ] ); - pModel->SetChanged( sal_False ); + pModel->SetChanged( false ); } SdrObject* IMapWindow::CreateObj( const IMapObject* pIMapObj ) @@ -527,7 +527,7 @@ sal_Int8 IMapWindow::ExecuteDrop( const ExecuteDropEvent& rEvt ) pIMapObj->SetURL( aBookMark.GetURL() ); pIMapObj->SetAltText( aBookMark.GetDescription() ); - pModel->SetChanged( sal_True ); + pModel->SetChanged( true ); pView->UnmarkAll(); pView->MarkObj( pSdrObj, pView->GetSdrPageView() ); UpdateInfo( sal_True ); @@ -649,7 +649,7 @@ void IMapWindow::DoMacroAssign() { const SfxItemSet* pOutSet = pMacroDlg->GetOutputItemSet(); pIMapObj->SetMacroTable( ((const SvxMacroItem& )pOutSet->Get( SID_ATTR_MACROITEM )).GetMacroTable() ); - pModel->SetChanged( sal_True ); + pModel->SetChanged( true ); UpdateInfo( sal_False ); } @@ -687,7 +687,7 @@ void IMapWindow::DoPropertyDialog() pIMapObj->SetDesc( aDlg->GetDesc() ); pIMapObj->SetTarget( aDlg->GetTarget() ); pIMapObj->SetName( aDlg->GetName() ); - pModel->SetChanged( sal_True ); + pModel->SetChanged( true ); UpdateInfo( sal_True ); } delete aDlg; diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx index 215d97251774..a869db680e14 100644 --- a/svx/source/svdraw/svdedxv.cxx +++ b/svx/source/svdraw/svdedxv.cxx @@ -1202,7 +1202,7 @@ sal_Bool SdrObjEditView::KeyInput(const KeyEvent& rKEvt, Window* pWin) if( pMod ) { if( pTextEditOutliner && pTextEditOutliner->IsModified() ) - pMod->SetChanged( sal_True ); + pMod->SetChanged( true ); } if (pWin!=NULL && pWin!=pTextEditWin) SetTextEditWin(pWin); diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx index a42559affae2..b0182ad04ca1 100644 --- a/svx/source/svdraw/svdmodel.cxx +++ b/svx/source/svdraw/svdmodel.cxx @@ -1387,7 +1387,7 @@ void SdrModel::TakePercentStr(const Fraction& rVal, OUString& rStr, bool bNoPerc rStr += "%"; } -void SdrModel::SetChanged(sal_Bool bFlg) +void SdrModel::SetChanged(bool bFlg) { mbChanged = bFlg; } diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx index a9a9a55aefe4..854057cccd70 100644 --- a/svx/source/svdraw/svdoole2.cxx +++ b/svx/source/svdraw/svdoole2.cxx @@ -2046,7 +2046,7 @@ void SdrOle2Obj::GetObjRef_Impl() // set the modified state of the model. if(!bWasChanged && pModel && pModel->IsChanged()) { - pModel->SetChanged( sal_False ); + pModel->SetChanged( false ); } } |