summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-17 15:46:46 +0200
committerNoel Grandin <noel@peralex.com>2014-02-18 10:08:03 +0200
commit56be07335d5baa7e50f0ad854b35795732316bb6 (patch)
tree307f0c9408656b48a48e324576f28444c861249a /sc
parentaed46fd7eccd88a928748e61bfab659ca4a1fec9 (diff)
sal_Bool->bool
Change-Id: Iee89a55e2a8d98b1d4afa371695ae25e84288ae7
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/drawfunc/fusel2.cxx6
-rw-r--r--sc/source/ui/inc/fusel.hxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/drawfunc/fusel2.cxx b/sc/source/ui/drawfunc/fusel2.cxx
index 4286ad90aa15..7d3ac3b547ff 100644
--- a/sc/source/ui/drawfunc/fusel2.cxx
+++ b/sc/source/ui/drawfunc/fusel2.cxx
@@ -48,12 +48,12 @@ inline long Diff( const Point& rP1, const Point& rP2 )
return nX+nY;
}
-sal_Bool FuSelection::TestDetective( SdrPageView* pPV, const Point& rPos )
+bool FuSelection::TestDetective( SdrPageView* pPV, const Point& rPos )
{
if (!pPV)
return false;
- sal_Bool bFound = false;
+ bool bFound = false;
SdrObjListIter aIter( *pPV->GetObjList(), IM_FLAT );
SdrObject* pObject = aIter.Next();
while (pObject && !bFound)
@@ -98,7 +98,7 @@ sal_Bool FuSelection::TestDetective( SdrPageView* pPV, const Point& rPos )
}
pViewShell->MoveCursorRel( nDifX, nDifY, SC_FOLLOW_JUMP, false );
- bFound = sal_True;
+ bFound = true;
}
}
diff --git a/sc/source/ui/inc/fusel.hxx b/sc/source/ui/inc/fusel.hxx
index dd463f35d1ae..531262934020 100644
--- a/sc/source/ui/inc/fusel.hxx
+++ b/sc/source/ui/inc/fusel.hxx
@@ -45,10 +45,10 @@ public:
void ActivateNoteHandles(SdrObject* pObj);
protected:
- sal_Bool bVCAction;
+ bool bVCAction;
private:
- sal_Bool TestDetective( SdrPageView* pPV, const Point& rPos ); // -> fusel2
+ bool TestDetective( SdrPageView* pPV, const Point& rPos ); // -> fusel2
bool IsNoteCaptionMarked() const;
bool IsNoteCaptionClicked( const Point& rPos ) const;