summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-17 15:13:44 +0200
committerNoel Grandin <noel@peralex.com>2014-02-18 10:08:00 +0200
commitc75b8edc8aa273b9e00e4c4ab50a0c4b124ed53b (patch)
treed5aa50ea296bc0fe579473e4ac639a1f869c0534 /sc
parente662ffc9d639b8e429155ea35f9e8a6f720be638 (diff)
sal_Bool->bool
Change-Id: I98448e4276acbbcd754f0573dcec9a16ef814174
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/drawfunc/fuconarc.cxx5
-rw-r--r--sc/source/ui/drawfunc/fuconcustomshape.cxx5
-rw-r--r--sc/source/ui/drawfunc/fuconpol.cxx6
-rw-r--r--sc/source/ui/drawfunc/fuconrec.cxx5
-rw-r--r--sc/source/ui/drawfunc/fuconstr.cxx10
-rw-r--r--sc/source/ui/drawfunc/fuconuno.cxx5
-rw-r--r--sc/source/ui/drawfunc/fudraw.cxx36
-rw-r--r--sc/source/ui/drawfunc/fumark.cxx8
-rw-r--r--sc/source/ui/drawfunc/fupoor.cxx6
-rw-r--r--sc/source/ui/drawfunc/fusel.cxx11
-rw-r--r--sc/source/ui/drawfunc/futext.cxx8
-rw-r--r--sc/source/ui/inc/fuconarc.hxx2
-rw-r--r--sc/source/ui/inc/fuconcustomshape.hxx2
-rw-r--r--sc/source/ui/inc/fuconpol.hxx2
-rw-r--r--sc/source/ui/inc/fuconrec.hxx2
-rw-r--r--sc/source/ui/inc/fuconstr.hxx2
-rw-r--r--sc/source/ui/inc/fuconuno.hxx2
-rw-r--r--sc/source/ui/inc/fudraw.hxx2
-rw-r--r--sc/source/ui/inc/fumark.hxx2
-rw-r--r--sc/source/ui/inc/fupoor.hxx2
-rw-r--r--sc/source/ui/inc/fusel.hxx2
-rw-r--r--sc/source/ui/inc/futext.hxx2
22 files changed, 56 insertions, 71 deletions
diff --git a/sc/source/ui/drawfunc/fuconarc.cxx b/sc/source/ui/drawfunc/fuconarc.cxx
index c20d2343998b..5865067483f7 100644
--- a/sc/source/ui/drawfunc/fuconarc.cxx
+++ b/sc/source/ui/drawfunc/fuconarc.cxx
@@ -119,10 +119,9 @@ sal_Bool FuConstArc::MouseButtonUp( const MouseEvent& rMEvt )
|*
\************************************************************************/
-sal_Bool FuConstArc::KeyInput(const KeyEvent& rKEvt)
+bool FuConstArc::KeyInput(const KeyEvent& rKEvt)
{
- sal_Bool bReturn = FuConstruct::KeyInput(rKEvt);
- return(bReturn);
+ return FuConstruct::KeyInput(rKEvt);
}
/*************************************************************************
diff --git a/sc/source/ui/drawfunc/fuconcustomshape.cxx b/sc/source/ui/drawfunc/fuconcustomshape.cxx
index ef7df53356fc..2bf08a34722c 100644
--- a/sc/source/ui/drawfunc/fuconcustomshape.cxx
+++ b/sc/source/ui/drawfunc/fuconcustomshape.cxx
@@ -141,10 +141,9 @@ sal_Bool FuConstCustomShape::MouseButtonUp(const MouseEvent& rMEvt)
|*
\************************************************************************/
-sal_Bool FuConstCustomShape::KeyInput(const KeyEvent& rKEvt)
+bool FuConstCustomShape::KeyInput(const KeyEvent& rKEvt)
{
- sal_Bool bReturn = FuConstruct::KeyInput(rKEvt);
- return(bReturn);
+ return FuConstruct::KeyInput(rKEvt);
}
/*************************************************************************
diff --git a/sc/source/ui/drawfunc/fuconpol.cxx b/sc/source/ui/drawfunc/fuconpol.cxx
index 62dbcf369043..b600d19bd43b 100644
--- a/sc/source/ui/drawfunc/fuconpol.cxx
+++ b/sc/source/ui/drawfunc/fuconpol.cxx
@@ -138,11 +138,9 @@ sal_Bool FuConstPolygon::MouseButtonUp(const MouseEvent& rMEvt)
|*
\************************************************************************/
-sal_Bool FuConstPolygon::KeyInput(const KeyEvent& rKEvt)
+bool FuConstPolygon::KeyInput(const KeyEvent& rKEvt)
{
- sal_Bool bReturn = FuConstruct::KeyInput(rKEvt);
-
- return(bReturn);
+ return FuConstruct::KeyInput(rKEvt);
}
/*************************************************************************
diff --git a/sc/source/ui/drawfunc/fuconrec.cxx b/sc/source/ui/drawfunc/fuconrec.cxx
index dcf219e87845..b6002eb5ec8e 100644
--- a/sc/source/ui/drawfunc/fuconrec.cxx
+++ b/sc/source/ui/drawfunc/fuconrec.cxx
@@ -155,10 +155,9 @@ sal_Bool FuConstRectangle::MouseButtonUp(const MouseEvent& rMEvt)
|*
\************************************************************************/
-sal_Bool FuConstRectangle::KeyInput(const KeyEvent& rKEvt)
+bool FuConstRectangle::KeyInput(const KeyEvent& rKEvt)
{
- sal_Bool bReturn = FuConstruct::KeyInput(rKEvt);
- return(bReturn);
+ return FuConstruct::KeyInput(rKEvt);
}
/*************************************************************************
diff --git a/sc/source/ui/drawfunc/fuconstr.cxx b/sc/source/ui/drawfunc/fuconstr.cxx
index c2d7458bef90..60b6b5da6617 100644
--- a/sc/source/ui/drawfunc/fuconstr.cxx
+++ b/sc/source/ui/drawfunc/fuconstr.cxx
@@ -310,9 +310,9 @@ sal_Bool FuConstruct::SimpleMouseButtonUp(const MouseEvent& rMEvt)
|*
\************************************************************************/
-sal_Bool FuConstruct::KeyInput(const KeyEvent& rKEvt)
+bool FuConstruct::KeyInput(const KeyEvent& rKEvt)
{
- sal_Bool bReturn = false;
+ bool bReturn = false;
switch ( rKEvt.GetKeyCode().GetCode() )
{
@@ -321,7 +321,7 @@ sal_Bool FuConstruct::KeyInput(const KeyEvent& rKEvt)
{
pView->BrkAction();
pWindow->ReleaseMouse();
- bReturn = sal_True;
+ bReturn = true;
}
else // Zeichenmodus beenden
{
@@ -332,7 +332,7 @@ sal_Bool FuConstruct::KeyInput(const KeyEvent& rKEvt)
case KEY_DELETE:
pView->DeleteMarked();
- bReturn = sal_True;
+ bReturn = true;
break;
}
@@ -341,7 +341,7 @@ sal_Bool FuConstruct::KeyInput(const KeyEvent& rKEvt)
bReturn = FuDraw::KeyInput(rKEvt);
}
- return(bReturn);
+ return bReturn;
}
/*************************************************************************
diff --git a/sc/source/ui/drawfunc/fuconuno.cxx b/sc/source/ui/drawfunc/fuconuno.cxx
index 6b00a915b44b..ff3ed245d3cc 100644
--- a/sc/source/ui/drawfunc/fuconuno.cxx
+++ b/sc/source/ui/drawfunc/fuconuno.cxx
@@ -122,10 +122,9 @@ sal_Bool FuConstUnoControl::MouseButtonUp(const MouseEvent& rMEvt)
|*
\************************************************************************/
-sal_Bool FuConstUnoControl::KeyInput(const KeyEvent& rKEvt)
+bool FuConstUnoControl::KeyInput(const KeyEvent& rKEvt)
{
- sal_Bool bReturn = FuConstruct::KeyInput(rKEvt);
- return(bReturn);
+ return FuConstruct::KeyInput(rKEvt);
}
/*************************************************************************
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index 4b2f0ef01d03..61c4a58c8ce7 100644
--- a/sc/source/ui/drawfunc/fudraw.cxx
+++ b/sc/source/ui/drawfunc/fudraw.cxx
@@ -213,9 +213,9 @@ static sal_Bool lcl_KeyEditMode( SdrObject* pObj, ScTabViewShell* pViewShell, co
return bReturn;
}
-sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt)
+bool FuDraw::KeyInput(const KeyEvent& rKEvt)
{
- sal_Bool bReturn = false;
+ bool bReturn = false;
ScViewData& rViewData = *pViewShell->GetViewData();
switch ( rKEvt.GetKeyCode().GetCode() )
@@ -225,13 +225,13 @@ sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt)
{
// in normale Draw-Shell, wenn Objekt selektiert, sonst Zeichnen aus
rViewData.GetDispatcher().Execute(aSfxRequest.GetSlot(), SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD);
- bReturn = sal_True;
+ bReturn = true;
}
else if ( pViewShell->IsDrawSelMode() )
{
pView->UnmarkAll();
rViewData.GetDispatcher().Execute(SID_OBJECT_SELECT, SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD);
- bReturn = sal_True;
+ bReturn = true;
}
else if ( pView->AreObjectsMarked() )
{
@@ -246,13 +246,13 @@ sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt)
if (!pView->AreObjectsMarked())
pViewShell->SetDrawShell( false );
- bReturn = sal_True;
+ bReturn = true;
}
break;
case KEY_DELETE: //! ueber Accelerator
pView->DeleteMarked();
- bReturn = sal_True;
+ bReturn = true;
break;
case KEY_RETURN:
@@ -271,10 +271,10 @@ sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt)
pViewShell->ActivateObject( static_cast< SdrOle2Obj* >( pObj ), 0 );
// consumed
- bReturn = sal_True;
+ bReturn = true;
}
else if ( lcl_KeyEditMode( pObj, pViewShell, NULL ) ) // start text edit for suitable object
- bReturn = sal_True;
+ bReturn = true;
}
}
}
@@ -291,7 +291,7 @@ sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt)
{
SdrObject* pObj = rMarkList.GetMark( 0 )->GetMarkedSdrObj();
if ( lcl_KeyEditMode( pObj, pViewShell, NULL ) ) // start text edit for suitable object
- bReturn = sal_True;
+ bReturn = true;
}
}
}
@@ -325,7 +325,7 @@ sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt)
if(pView->AreObjectsMarked())
pView->MakeVisible(pView->GetAllMarkedRect(), *pWindow);
- bReturn = sal_True;
+ bReturn = true;
}
// handle Mod1 and Mod2 to get travelling running on different systems
@@ -348,7 +348,7 @@ sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt)
}
// consumed
- bReturn = sal_True;
+ bReturn = true;
}
}
}
@@ -373,7 +373,7 @@ sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt)
if(pView->AreObjectsMarked())
pView->MakeVisible(pView->GetAllMarkedRect(), *pWindow);
- bReturn = sal_True;
+ bReturn = true;
}
}
}
@@ -398,7 +398,7 @@ sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt)
if(pView->AreObjectsMarked())
pView->MakeVisible(pView->GetAllMarkedRect(), *pWindow);
- bReturn = sal_True;
+ bReturn = true;
}
}
}
@@ -527,7 +527,7 @@ sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt)
// II
pView->MakeVisible(pView->GetAllMarkedRect(), *pWindow);
- bReturn = sal_True;
+ bReturn = true;
}
}
else
@@ -568,7 +568,7 @@ sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt)
Rectangle aVisRect(aEndPoint - Point(100, 100), Size(200, 200));
pView->MakeVisible(aVisRect, *pWindow);
- bReturn = sal_True;
+ bReturn = true;
}
}
}
@@ -635,7 +635,7 @@ sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt)
}
}
- bReturn = sal_True;
+ bReturn = true;
}
}
}
@@ -659,11 +659,11 @@ sal_Bool FuDraw::KeyInput(const KeyEvent& rKEvt)
// start text edit for suitable object, pass key event to OutlinerView
if ( lcl_KeyEditMode( pObj, pViewShell, &rKEvt ) )
- bReturn = sal_True;
+ bReturn = true;
}
}
- return (bReturn);
+ return bReturn;
}
// II
diff --git a/sc/source/ui/drawfunc/fumark.cxx b/sc/source/ui/drawfunc/fumark.cxx
index 882c307990f3..f50aa3a014bf 100644
--- a/sc/source/ui/drawfunc/fumark.cxx
+++ b/sc/source/ui/drawfunc/fumark.cxx
@@ -179,9 +179,9 @@ sal_uInt8 FuMarkRect::Command(const CommandEvent& rCEvt)
|*
\************************************************************************/
-sal_Bool FuMarkRect::KeyInput(const KeyEvent& rKEvt)
+bool FuMarkRect::KeyInput(const KeyEvent& rKEvt)
{
- sal_Bool bReturn = false;
+ bool bReturn = false;
switch ( rKEvt.GetKeyCode().GetCode() )
{
@@ -189,7 +189,7 @@ sal_Bool FuMarkRect::KeyInput(const KeyEvent& rKEvt)
// beenden
pViewShell->GetViewData()->GetDispatcher().
Execute(aSfxRequest.GetSlot(), SFX_CALLMODE_SLOT | SFX_CALLMODE_RECORD);
- bReturn = sal_True;
+ bReturn = true;
break;
}
@@ -198,7 +198,7 @@ sal_Bool FuMarkRect::KeyInput(const KeyEvent& rKEvt)
bReturn = FuPoor::KeyInput(rKEvt);
}
- return (bReturn);
+ return bReturn;
}
/*************************************************************************
diff --git a/sc/source/ui/drawfunc/fupoor.cxx b/sc/source/ui/drawfunc/fupoor.cxx
index f6d3cd10e936..7661d6546a13 100644
--- a/sc/source/ui/drawfunc/fupoor.cxx
+++ b/sc/source/ui/drawfunc/fupoor.cxx
@@ -175,11 +175,9 @@ sal_Bool FuPoor::MouseButtonDown(const MouseEvent& rMEvt)
|*
\************************************************************************/
-sal_Bool FuPoor::KeyInput(const KeyEvent& /* rKEvt */)
+bool FuPoor::KeyInput(const KeyEvent& /* rKEvt */)
{
- sal_Bool bReturn = false;
-
- return(bReturn);
+ return false;
}
sal_uInt8 FuPoor::Command(const CommandEvent& rCEvt)
diff --git a/sc/source/ui/drawfunc/fusel.cxx b/sc/source/ui/drawfunc/fusel.cxx
index 13e1d30534c4..41129285095c 100644
--- a/sc/source/ui/drawfunc/fusel.cxx
+++ b/sc/source/ui/drawfunc/fusel.cxx
@@ -612,16 +612,9 @@ sal_Bool FuSelection::MouseButtonUp(const MouseEvent& rMEvt)
|*
\************************************************************************/
-sal_Bool FuSelection::KeyInput(const KeyEvent& rKEvt)
+bool FuSelection::KeyInput(const KeyEvent& rKEvt)
{
- sal_Bool bReturn = false;
-
- if (!bReturn)
- {
- bReturn = FuDraw::KeyInput(rKEvt);
- }
-
- return(bReturn);
+ return FuDraw::KeyInput(rKEvt);
}
diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx
index e20aac8af53e..456474827cae 100644
--- a/sc/source/ui/drawfunc/futext.cxx
+++ b/sc/source/ui/drawfunc/futext.cxx
@@ -578,13 +578,13 @@ void FuText::ForcePointer(const MouseEvent* /* pMEvt */)
|*
\************************************************************************/
-sal_Bool FuText::KeyInput(const KeyEvent& rKEvt)
+bool FuText::KeyInput(const KeyEvent& rKEvt)
{
- sal_Bool bReturn = false;
+ bool bReturn = false;
if ( pView->KeyInput(rKEvt, pWindow) )
{
- bReturn = sal_True;
+ bReturn = true;
lcl_InvalidateAttribs( pViewShell->GetViewFrame()->GetBindings() );
}
else
@@ -592,7 +592,7 @@ sal_Bool FuText::KeyInput(const KeyEvent& rKEvt)
bReturn = FuDraw::KeyInput(rKEvt);
}
- return (bReturn);
+ return bReturn;
}
diff --git a/sc/source/ui/inc/fuconarc.hxx b/sc/source/ui/inc/fuconarc.hxx
index f51655c67b05..4386ed539277 100644
--- a/sc/source/ui/inc/fuconarc.hxx
+++ b/sc/source/ui/inc/fuconarc.hxx
@@ -31,7 +31,7 @@ class FuConstArc : public FuConstruct
virtual ~FuConstArc();
// Mouse- & Key-Events
- virtual sal_Bool KeyInput(const KeyEvent& rKEvt);
+ virtual bool KeyInput(const KeyEvent& rKEvt);
virtual sal_Bool MouseMove(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonUp(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonDown(const MouseEvent& rMEvt);
diff --git a/sc/source/ui/inc/fuconcustomshape.hxx b/sc/source/ui/inc/fuconcustomshape.hxx
index 1a06c4f64801..8394124456a0 100644
--- a/sc/source/ui/inc/fuconcustomshape.hxx
+++ b/sc/source/ui/inc/fuconcustomshape.hxx
@@ -34,7 +34,7 @@ public:
virtual ~FuConstCustomShape();
// Mouse- & Key-Events
- virtual sal_Bool KeyInput(const KeyEvent& rKEvt);
+ virtual bool KeyInput(const KeyEvent& rKEvt);
virtual sal_Bool MouseMove(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonUp(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonDown(const MouseEvent& rMEvt);
diff --git a/sc/source/ui/inc/fuconpol.hxx b/sc/source/ui/inc/fuconpol.hxx
index b1d9b998e5b0..57772c5f96db 100644
--- a/sc/source/ui/inc/fuconpol.hxx
+++ b/sc/source/ui/inc/fuconpol.hxx
@@ -33,7 +33,7 @@ class FuConstPolygon : public FuConstruct
virtual ~FuConstPolygon();
// Mouse- & Key-Events
- virtual sal_Bool KeyInput(const KeyEvent& rKEvt);
+ virtual bool KeyInput(const KeyEvent& rKEvt);
virtual sal_Bool MouseMove(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonUp(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonDown(const MouseEvent& rMEvt);
diff --git a/sc/source/ui/inc/fuconrec.hxx b/sc/source/ui/inc/fuconrec.hxx
index ba2e41ab6ce4..699154062305 100644
--- a/sc/source/ui/inc/fuconrec.hxx
+++ b/sc/source/ui/inc/fuconrec.hxx
@@ -31,7 +31,7 @@ class FuConstRectangle : public FuConstruct
virtual ~FuConstRectangle();
// Mouse- & Key-Events
- virtual sal_Bool KeyInput(const KeyEvent& rKEvt);
+ virtual bool KeyInput(const KeyEvent& rKEvt);
virtual sal_Bool MouseMove(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonUp(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonDown(const MouseEvent& rMEvt);
diff --git a/sc/source/ui/inc/fuconstr.hxx b/sc/source/ui/inc/fuconstr.hxx
index ab24e8986028..7cfa4b40fdc3 100644
--- a/sc/source/ui/inc/fuconstr.hxx
+++ b/sc/source/ui/inc/fuconstr.hxx
@@ -32,7 +32,7 @@ class FuConstruct : public FuDraw
virtual ~FuConstruct();
// Mouse- & Key-Events
- virtual sal_Bool KeyInput(const KeyEvent& rKEvt);
+ virtual bool KeyInput(const KeyEvent& rKEvt);
virtual sal_Bool MouseMove(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonUp(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonDown(const MouseEvent& rMEvt);
diff --git a/sc/source/ui/inc/fuconuno.hxx b/sc/source/ui/inc/fuconuno.hxx
index a367563ef72f..f815714ec8aa 100644
--- a/sc/source/ui/inc/fuconuno.hxx
+++ b/sc/source/ui/inc/fuconuno.hxx
@@ -36,7 +36,7 @@ public:
virtual ~FuConstUnoControl();
// Mouse- & Key-Events
- virtual sal_Bool KeyInput(const KeyEvent& rKEvt);
+ virtual bool KeyInput(const KeyEvent& rKEvt);
virtual sal_Bool MouseMove(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonUp(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonDown(const MouseEvent& rMEvt);
diff --git a/sc/source/ui/inc/fudraw.hxx b/sc/source/ui/inc/fudraw.hxx
index 2fba1ae52fb6..bdfead3075fc 100644
--- a/sc/source/ui/inc/fudraw.hxx
+++ b/sc/source/ui/inc/fudraw.hxx
@@ -35,7 +35,7 @@ class FuDraw : public FuPoor
SdrModel* pDoc, SfxRequest& rReq);
virtual ~FuDraw();
- virtual sal_Bool KeyInput(const KeyEvent& rKEvt);
+ virtual bool KeyInput(const KeyEvent& rKEvt);
virtual void Activate();
virtual void Deactivate();
diff --git a/sc/source/ui/inc/fumark.hxx b/sc/source/ui/inc/fumark.hxx
index 3b64bc167dd1..f2f6be1a9422 100644
--- a/sc/source/ui/inc/fumark.hxx
+++ b/sc/source/ui/inc/fumark.hxx
@@ -39,7 +39,7 @@ class FuMarkRect : public FuPoor
SdrModel* pDoc, SfxRequest& rReq);
virtual ~FuMarkRect();
- virtual sal_Bool KeyInput(const KeyEvent& rKEvt);
+ virtual bool KeyInput(const KeyEvent& rKEvt);
virtual void Activate();
virtual void Deactivate();
diff --git a/sc/source/ui/inc/fupoor.hxx b/sc/source/ui/inc/fupoor.hxx
index 799798983d93..d5de5af4d59f 100644
--- a/sc/source/ui/inc/fupoor.hxx
+++ b/sc/source/ui/inc/fupoor.hxx
@@ -81,7 +81,7 @@ public:
virtual void DoPaste();
// Mouse- & Key-Events; return value=TRUE: Event was processed
- virtual sal_Bool KeyInput(const KeyEvent& rKEvt);
+ virtual bool KeyInput(const KeyEvent& rKEvt);
virtual sal_Bool MouseMove(const MouseEvent&) { return false; }
// moved from inline to *.cxx
diff --git a/sc/source/ui/inc/fusel.hxx b/sc/source/ui/inc/fusel.hxx
index b1715e7972bf..f71d29917854 100644
--- a/sc/source/ui/inc/fusel.hxx
+++ b/sc/source/ui/inc/fusel.hxx
@@ -33,7 +33,7 @@ public:
virtual ~FuSelection();
// Mouse- & Key-Events
- virtual sal_Bool KeyInput(const KeyEvent& rKEvt);
+ virtual bool KeyInput(const KeyEvent& rKEvt);
virtual sal_Bool MouseMove(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonUp(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonDown(const MouseEvent& rMEvt);
diff --git a/sc/source/ui/inc/futext.hxx b/sc/source/ui/inc/futext.hxx
index 3c6179e83fc8..a2532ea537af 100644
--- a/sc/source/ui/inc/futext.hxx
+++ b/sc/source/ui/inc/futext.hxx
@@ -40,7 +40,7 @@ public:
virtual ~FuText();
- virtual sal_Bool KeyInput(const KeyEvent& rKEvt);
+ virtual bool KeyInput(const KeyEvent& rKEvt);
virtual sal_Bool MouseMove(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonUp(const MouseEvent& rMEvt);
virtual sal_Bool MouseButtonDown(const MouseEvent& rMEvt);