summaryrefslogtreecommitdiff
path: root/svx/source/form/fmview.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-04 15:56:11 +0200
committerNoel Grandin <noel@peralex.com>2014-03-11 08:18:15 +0200
commit11bb658a60777243483fe8e682ca46e88855690a (patch)
tree43150bf47ae7b4f5919128e759439969d585184a /svx/source/form/fmview.cxx
parent3df902ba28f6b142277a45b781a6d65389fad6b9 (diff)
svx: sal_Bool->bool
Change-Id: I881b262277a23dae7975b541fe0dccf0d09cb985
Diffstat (limited to 'svx/source/form/fmview.cxx')
-rw-r--r--svx/source/form/fmview.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx
index dcc9a8277282..0a2c7329c2e6 100644
--- a/svx/source/form/fmview.cxx
+++ b/svx/source/form/fmview.cxx
@@ -227,9 +227,9 @@ void FmFormView::DeleteWindowFromPaintView(OutputDevice* pNewWin)
}
-void FmFormView::ChangeDesignMode(sal_Bool bDesign)
+void FmFormView::ChangeDesignMode(bool bDesign)
{
- if (bDesign == IsDesignMode())
+ if ((bDesign ? 1 : 0) == IsDesignMode())
return;
FmFormModel* pModel = PTR_CAST(FmFormModel, GetModel());
@@ -314,7 +314,7 @@ void FmFormView::ChangeDesignMode(sal_Bool bDesign)
}
-void FmFormView::GrabFirstControlFocus( sal_Bool _bForceSync )
+void FmFormView::GrabFirstControlFocus( bool _bForceSync )
{
if ( !IsDesignMode() )
pImpl->AutoFocus( _bForceSync );
@@ -540,10 +540,10 @@ sal_Bool FmFormView::KeyInput(const KeyEvent& rKEvt, Window* pWin)
return bDone;
}
-sal_Bool FmFormView::checkUnMarkAll(const Reference< XInterface >& _xSource)
+bool FmFormView::checkUnMarkAll(const Reference< XInterface >& _xSource)
{
Reference< ::com::sun::star::awt::XControl> xControl(pImpl->m_xWindow,UNO_QUERY);
- sal_Bool bRet = !xControl.is() || !_xSource.is() || _xSource != xControl->getModel();
+ bool bRet = !xControl.is() || !_xSource.is() || _xSource != xControl->getModel();
if ( bRet )
UnmarkAll();