summaryrefslogtreecommitdiff
path: root/svx/source/form/fmview.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-10 11:09:59 +0200
committerNoel Grandin <noel@peralex.com>2014-03-11 08:18:24 +0200
commit6c97bc47177adc1c51f69f17e77b9fe2aeade122 (patch)
treef0ae47f9be3c2a72b3b197681ca65644bf82ecfe /svx/source/form/fmview.cxx
parentd1bffe3596d21f205cb7a2697bb5142f190b5627 (diff)
svx: sal_Bool->bool
Change-Id: I78da39fc553b2e5040ee6665377ea51a1c4d04d7
Diffstat (limited to 'svx/source/form/fmview.cxx')
-rw-r--r--svx/source/form/fmview.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx
index 0a2c7329c2e6..9f00a6b42cb8 100644
--- a/svx/source/form/fmview.cxx
+++ b/svx/source/form/fmview.cxx
@@ -173,7 +173,7 @@ void FmFormView::MarkListHasChanged()
pImpl->m_xWindow->removeFocusListener(pImpl);
pImpl->m_xWindow = NULL;
}
- SetMoveOutside(sal_False);
+ SetMoveOutside(false);
//OLMRefreshAllIAOManagers();
}
@@ -229,7 +229,7 @@ void FmFormView::DeleteWindowFromPaintView(OutputDevice* pNewWin)
void FmFormView::ChangeDesignMode(bool bDesign)
{
- if ((bDesign ? 1 : 0) == IsDesignMode())
+ if (bDesign == IsDesignMode())
return;
FmFormModel* pModel = PTR_CAST(FmFormModel, GetModel());
@@ -380,7 +380,7 @@ SdrModel* FmFormView::GetMarkedObjModel() const
}
-sal_Bool FmFormView::Paste(const SdrModel& rMod, const Point& rPos, SdrObjList* pLst, sal_uInt32 nOptions)
+bool FmFormView::Paste(const SdrModel& rMod, const Point& rPos, SdrObjList* pLst, sal_uInt32 nOptions)
{
return E3dView::Paste(rMod, rPos, pLst, nOptions);
}
@@ -515,7 +515,7 @@ sal_Bool FmFormView::KeyInput(const KeyEvent& rKEvt, Window* pWin)
pImpl->m_xWindow = xWindow;
// add as listener to get notified when ESC will be pressed inside the grid
pImpl->m_xWindow->addFocusListener(pImpl);
- SetMoveOutside(sal_True);
+ SetMoveOutside(true);
//OLMRefreshAllIAOManagers();
xWindow->setFocus();
bDone = sal_True;