summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-17 15:49:04 +0200
committerNoel Grandin <noel@peralex.com>2014-02-18 10:08:03 +0200
commitda2b9b0fa4140d576340a3df6fbdde94e02e2777 (patch)
treef538d5e96c6462f53f5d10afcffd37bc5fb63369 /sc
parent56be07335d5baa7e50f0ad854b35795732316bb6 (diff)
sal_Bool->bool
Change-Id: I7ebc6d5271321072469665f055f49b1dd2d98b93
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/drawfunc/fudraw.cxx2
-rw-r--r--sc/source/ui/drawfunc/futext.cxx2
-rw-r--r--sc/source/ui/drawfunc/futext3.cxx2
-rw-r--r--sc/source/ui/inc/futext.hxx4
4 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/drawfunc/fudraw.cxx b/sc/source/ui/drawfunc/fudraw.cxx
index 68aa80682f51..4ded30bf1b4a 100644
--- a/sc/source/ui/drawfunc/fudraw.cxx
+++ b/sc/source/ui/drawfunc/fudraw.cxx
@@ -205,7 +205,7 @@ static sal_Bool lcl_KeyEditMode( SdrObject* pObj, ScTabViewShell* pViewShell, co
if ( pPoor && pPoor->GetSlotID() == nTextSlotId ) // no RTTI
{
FuText* pText = (FuText*)pPoor;
- pText->SetInEditMode( pObj, NULL, sal_True, pInitialKey );
+ pText->SetInEditMode( pObj, NULL, true, pInitialKey );
//! set cursor to end of text
}
bReturn = sal_True;
diff --git a/sc/source/ui/drawfunc/futext.cxx b/sc/source/ui/drawfunc/futext.cxx
index 4f5b2d0a6a50..76a3c7c3fdb5 100644
--- a/sc/source/ui/drawfunc/futext.cxx
+++ b/sc/source/ui/drawfunc/futext.cxx
@@ -707,7 +707,7 @@ void FuText::SelectionHasChanged()
\************************************************************************/
void FuText::SetInEditMode(SdrObject* pObj, const Point* pMousePixel,
- sal_Bool bCursorToEnd, const KeyEvent* pInitialKey)
+ bool bCursorToEnd, const KeyEvent* pInitialKey)
{
/* It is possible to pass a special (unselected) object in pObj, e.g. the
caption object of a cell note. If pObj is 0, then the selected object
diff --git a/sc/source/ui/drawfunc/futext3.cxx b/sc/source/ui/drawfunc/futext3.cxx
index e2f301b12f0c..af833dabdea0 100644
--- a/sc/source/ui/drawfunc/futext3.cxx
+++ b/sc/source/ui/drawfunc/futext3.cxx
@@ -51,7 +51,7 @@
// bTextDirection=sal_True means that this function is called from SID_TEXTDIRECTION_XXX(drtxtob.cxx).
// ------------------------------------------------------------------------------------
-void FuText::StopEditMode(sal_Bool /*bTextDirection*/)
+void FuText::StopEditMode(bool /*bTextDirection*/)
{
SdrObject* pObject = pView->GetTextEditObject();
if( !pObject ) return;
diff --git a/sc/source/ui/inc/futext.hxx b/sc/source/ui/inc/futext.hxx
index 8125d6772d43..adb36968c36e 100644
--- a/sc/source/ui/inc/futext.hxx
+++ b/sc/source/ui/inc/futext.hxx
@@ -53,8 +53,8 @@ public:
virtual void SelectionHasChanged();
void SetInEditMode( SdrObject* pObj = NULL, const Point* pMousePixel = NULL,
- sal_Bool bCursorToEnd = false, const KeyEvent* pInitialKey = NULL );
- void StopEditMode(sal_Bool bTextDirection = false);
+ bool bCursorToEnd = false, const KeyEvent* pInitialKey = NULL );
+ void StopEditMode(bool bTextDirection = false);
void StopDragMode(SdrObject* pObject);
// Create default drawing objects via keyboard