summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-04-01 11:32:26 +0200
committerNoel Grandin <noel@peralex.com>2014-04-03 09:17:48 +0200
commit728f60365cbdb96e75796677fca591e9445898c9 (patch)
tree2237786f83e50e6d80a8b7e65c454ee2e1f095c1 /svx
parent8d6a99f67edc3be61f1294f963c3bbbd2b7344f6 (diff)
svx: sal_Bool->boo
Change-Id: I305ccda011463a3b24de48fae168ffae4da264c1
Diffstat (limited to 'svx')
-rw-r--r--svx/source/form/fmview.cxx10
-rw-r--r--svx/source/gallery2/galbrws.cxx4
-rw-r--r--svx/source/svdraw/svdcrtv.cxx2
-rw-r--r--svx/source/svdraw/svdedxv.cxx10
-rw-r--r--svx/source/svdraw/svdmrkv.cxx2
-rw-r--r--svx/source/svdraw/svdpntv.cxx4
-rw-r--r--svx/source/svdraw/svdview.cxx30
7 files changed, 31 insertions, 31 deletions
diff --git a/svx/source/form/fmview.cxx b/svx/source/form/fmview.cxx
index d9b5acd5f72d..625c9ef79aad 100644
--- a/svx/source/form/fmview.cxx
+++ b/svx/source/form/fmview.cxx
@@ -490,9 +490,9 @@ void FmFormView::EndCompleteRedraw( SdrPaintWindow& rPaintWindow, bool bPaintFor
}
-sal_Bool FmFormView::KeyInput(const KeyEvent& rKEvt, Window* pWin)
+bool FmFormView::KeyInput(const KeyEvent& rKEvt, Window* pWin)
{
- sal_Bool bDone = sal_False;
+ bool bDone = false;
const KeyCode& rKeyCode = rKEvt.GetKeyCode();
if ( IsDesignMode()
&& rKeyCode.GetCode() == KEY_RETURN
@@ -518,7 +518,7 @@ sal_Bool FmFormView::KeyInput(const KeyEvent& rKEvt, Window* pWin)
SetMoveOutside(true);
//OLMRefreshAllIAOManagers();
xWindow->setFocus();
- bDone = sal_True;
+ bDone = true;
}
}
}
@@ -551,9 +551,9 @@ bool FmFormView::checkUnMarkAll(const Reference< XInterface >& _xSource)
}
-sal_Bool FmFormView::MouseButtonDown( const MouseEvent& _rMEvt, Window* _pWin )
+bool FmFormView::MouseButtonDown( const MouseEvent& _rMEvt, Window* _pWin )
{
- sal_Bool bReturn = E3dView::MouseButtonDown( _rMEvt, _pWin );
+ bool bReturn = E3dView::MouseButtonDown( _rMEvt, _pWin );
if ( pFormShell && pFormShell->GetImpl() )
{
diff --git a/svx/source/gallery2/galbrws.cxx b/svx/source/gallery2/galbrws.cxx
index f939ad3bfd98..bb5c7fb450a1 100644
--- a/svx/source/gallery2/galbrws.cxx
+++ b/svx/source/gallery2/galbrws.cxx
@@ -180,10 +180,10 @@ void GalleryBrowser::Resize()
maLastSize = aNewSize;
}
-sal_Bool GalleryBrowser::KeyInput( const KeyEvent& rKEvt, Window* )
+bool GalleryBrowser::KeyInput( const KeyEvent& rKEvt, Window* )
{
const sal_uInt16 nCode = rKEvt.GetKeyCode().GetCode();
- sal_Bool bRet = ( !rKEvt.GetKeyCode().IsMod1() &&
+ bool bRet = ( !rKEvt.GetKeyCode().IsMod1() &&
( ( KEY_TAB == nCode ) || ( KEY_F6 == nCode && rKEvt.GetKeyCode().IsMod2() ) ) );
if( bRet )
diff --git a/svx/source/svdraw/svdcrtv.cxx b/svx/source/svdraw/svdcrtv.cxx
index 6be494f89ef7..3b3a15c10259 100644
--- a/svx/source/svdraw/svdcrtv.cxx
+++ b/svx/source/svdraw/svdcrtv.cxx
@@ -319,7 +319,7 @@ void SdrCreateView::HideConnectMarker()
ImpClearConnectMarker();
}
-sal_Bool SdrCreateView::MouseMove(const MouseEvent& rMEvt, Window* pWin)
+bool SdrCreateView::MouseMove(const MouseEvent& rMEvt, Window* pWin)
{
if(CheckEdgeMode() && pWin)
{
diff --git a/svx/source/svdraw/svdedxv.cxx b/svx/source/svdraw/svdedxv.cxx
index 91be14d2a146..ea6bb85672dd 100644
--- a/svx/source/svdraw/svdedxv.cxx
+++ b/svx/source/svdraw/svdedxv.cxx
@@ -1178,7 +1178,7 @@ bool SdrObjEditView::IsTextEditFrameHit(const Point& rHit) const
-sal_Bool SdrObjEditView::KeyInput(const KeyEvent& rKEvt, Window* pWin)
+bool SdrObjEditView::KeyInput(const KeyEvent& rKEvt, Window* pWin)
{
if(pTextEditOutlinerView)
{
@@ -1201,7 +1201,7 @@ sal_Bool SdrObjEditView::KeyInput(const KeyEvent& rKEvt, Window* pWin)
return SdrGlueEditView::KeyInput(rKEvt,pWin);
}
-sal_Bool SdrObjEditView::MouseButtonDown(const MouseEvent& rMEvt, Window* pWin)
+bool SdrObjEditView::MouseButtonDown(const MouseEvent& rMEvt, Window* pWin)
{
if (pTextEditOutlinerView!=NULL) {
bool bPostIt=pTextEditOutliner->IsInSelectionMode();
@@ -1236,7 +1236,7 @@ sal_Bool SdrObjEditView::MouseButtonDown(const MouseEvent& rMEvt, Window* pWin)
return SdrGlueEditView::MouseButtonDown(rMEvt,pWin);
}
-sal_Bool SdrObjEditView::MouseButtonUp(const MouseEvent& rMEvt, Window* pWin)
+bool SdrObjEditView::MouseButtonUp(const MouseEvent& rMEvt, Window* pWin)
{
if (pTextEditOutlinerView!=NULL) {
bool bPostIt=pTextEditOutliner->IsInSelectionMode();
@@ -1267,7 +1267,7 @@ sal_Bool SdrObjEditView::MouseButtonUp(const MouseEvent& rMEvt, Window* pWin)
return SdrGlueEditView::MouseButtonUp(rMEvt,pWin);
}
-sal_Bool SdrObjEditView::MouseMove(const MouseEvent& rMEvt, Window* pWin)
+bool SdrObjEditView::MouseMove(const MouseEvent& rMEvt, Window* pWin)
{
if (pTextEditOutlinerView!=NULL) {
bool bSelMode=pTextEditOutliner->IsInSelectionMode();
@@ -1299,7 +1299,7 @@ sal_Bool SdrObjEditView::MouseMove(const MouseEvent& rMEvt, Window* pWin)
return SdrGlueEditView::MouseMove(rMEvt,pWin);
}
-sal_Bool SdrObjEditView::Command(const CommandEvent& rCEvt, Window* pWin)
+bool SdrObjEditView::Command(const CommandEvent& rCEvt, Window* pWin)
{
// as long as OutlinerView returns a sal_Bool, it only gets COMMAND_STARTDRAG
if (pTextEditOutlinerView!=NULL)
diff --git a/svx/source/svdraw/svdmrkv.cxx b/svx/source/svdraw/svdmrkv.cxx
index b8ae15db5339..4c2680965844 100644
--- a/svx/source/svdraw/svdmrkv.cxx
+++ b/svx/source/svdraw/svdmrkv.cxx
@@ -1036,7 +1036,7 @@ void SdrMarkView::AddDragModeHdl(SdrDragMode eMode)
}
/** handle mouse over effects for handles */
-sal_Bool SdrMarkView::MouseMove(const MouseEvent& rMEvt, Window* pWin)
+bool SdrMarkView::MouseMove(const MouseEvent& rMEvt, Window* pWin)
{
if(aHdl.GetHdlCount())
{
diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx
index 892f49025ad2..9ef70ea69fbb 100644
--- a/svx/source/svdraw/svdpntv.cxx
+++ b/svx/source/svdraw/svdpntv.cxx
@@ -879,9 +879,9 @@ void SdrPaintView::ImpFormLayerDrawing(SdrPaintWindow& rPaintWindow) const
-sal_Bool SdrPaintView::KeyInput(const KeyEvent& /*rKEvt*/, Window* /*pWin*/)
+bool SdrPaintView::KeyInput(const KeyEvent& /*rKEvt*/, Window* /*pWin*/)
{
- return sal_False;
+ return false;
}
void SdrPaintView::GlueInvalidate() const
diff --git a/svx/source/svdraw/svdview.cxx b/svx/source/svdraw/svdview.cxx
index 9b5fa6f2c989..2c8547a7a294 100644
--- a/svx/source/svdraw/svdview.cxx
+++ b/svx/source/svdraw/svdview.cxx
@@ -175,12 +175,12 @@ SdrView::~SdrView()
maAccessibilityOptions.RemoveListener(this);
}
-sal_Bool SdrView::KeyInput(const KeyEvent& rKEvt, Window* pWin)
+bool SdrView::KeyInput(const KeyEvent& rKEvt, Window* pWin)
{
SetActualWin(pWin);
- sal_Bool bRet=SdrCreateView::KeyInput(rKEvt,pWin);
+ bool bRet = SdrCreateView::KeyInput(rKEvt,pWin);
if (!bRet && !IsExtendedKeyInputDispatcherEnabled()) {
- bRet=true;
+ bRet = true;
switch (rKEvt.GetKeyCode().GetFullFunction()) {
case KEYFUNC_CUT : Cut(); break;
case KEYFUNC_COPY : Yank(); break;
@@ -218,51 +218,51 @@ sal_Bool SdrView::KeyInput(const KeyEvent& rKEvt, Window* pWin)
return bRet;
}
-sal_Bool SdrView::MouseButtonDown(const MouseEvent& rMEvt, Window* pWin)
+bool SdrView::MouseButtonDown(const MouseEvent& rMEvt, Window* pWin)
{
SetActualWin(pWin);
if (rMEvt.IsLeft()) aDragStat.SetMouseDown(true);
- sal_Bool bRet=SdrCreateView::MouseButtonDown(rMEvt,pWin);
+ bool bRet = SdrCreateView::MouseButtonDown(rMEvt,pWin);
if (!bRet && !IsExtendedMouseEventDispatcherEnabled()) {
SdrViewEvent aVEvt;
PickAnything(rMEvt,SDRMOUSEBUTTONDOWN,aVEvt);
- bRet=DoMouseEvent(aVEvt);
+ bRet = DoMouseEvent(aVEvt);
}
return bRet;
}
-sal_Bool SdrView::MouseButtonUp(const MouseEvent& rMEvt, Window* pWin)
+bool SdrView::MouseButtonUp(const MouseEvent& rMEvt, Window* pWin)
{
SetActualWin(pWin);
if (rMEvt.IsLeft()) aDragStat.SetMouseDown(false);
- sal_Bool bAction=IsAction();
- sal_Bool bRet=!bAction && SdrCreateView::MouseButtonUp(rMEvt,pWin);
+ bool bAction = IsAction();
+ bool bRet = !bAction && SdrCreateView::MouseButtonUp(rMEvt,pWin);
if (!bRet && !IsExtendedMouseEventDispatcherEnabled()) {
SdrViewEvent aVEvt;
PickAnything(rMEvt,SDRMOUSEBUTTONUP,aVEvt);
- bRet=DoMouseEvent(aVEvt);
+ bRet = DoMouseEvent(aVEvt);
}
return bRet;
}
-sal_Bool SdrView::MouseMove(const MouseEvent& rMEvt, Window* pWin)
+bool SdrView::MouseMove(const MouseEvent& rMEvt, Window* pWin)
{
SetActualWin(pWin);
aDragStat.SetMouseDown(rMEvt.IsLeft());
- sal_Bool bRet=SdrCreateView::MouseMove(rMEvt,pWin);
+ bool bRet = SdrCreateView::MouseMove(rMEvt,pWin);
if (!IsExtendedMouseEventDispatcherEnabled() && !IsTextEditInSelectionMode()) {
SdrViewEvent aVEvt;
PickAnything(rMEvt,SDRMOUSEMOVE,aVEvt);
- if (DoMouseEvent(aVEvt)) bRet=sal_True;
+ if (DoMouseEvent(aVEvt)) bRet=true;
}
return bRet;
}
-sal_Bool SdrView::Command(const CommandEvent& rCEvt, Window* pWin)
+bool SdrView::Command(const CommandEvent& rCEvt, Window* pWin)
{
SetActualWin(pWin);
- sal_Bool bRet=SdrCreateView::Command(rCEvt,pWin);
+ bool bRet = SdrCreateView::Command(rCEvt,pWin);
return bRet;
}