diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-26 22:25:24 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-26 23:20:07 +0900 |
commit | 0bd5a8d3f26590f467379042597f91be681fe25e (patch) | |
tree | 4a3144893193aafb826da8729c9e6c24db9a9be5 /svx/inc | |
parent | 0d0718a6d0fcf301b25e8964fb842d3ee87a56f5 (diff) |
sal_Bool to bool
Change-Id: I27a444a8313bff276e377ffb87458213f4e19707
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/svx/sdrmasterpagedescriptor.hxx | 4 | ||||
-rw-r--r-- | svx/inc/svx/sdrpaintwindow.hxx | 4 | ||||
-rw-r--r-- | svx/inc/svx/svdcrtv.hxx | 6 | ||||
-rw-r--r-- | svx/inc/svx/svddrgv.hxx | 3 | ||||
-rw-r--r-- | svx/inc/svx/svdhdl.hxx | 12 |
5 files changed, 14 insertions, 15 deletions
diff --git a/svx/inc/svx/sdrmasterpagedescriptor.hxx b/svx/inc/svx/sdrmasterpagedescriptor.hxx index 20658c11922b..1917a681bb69 100644 --- a/svx/inc/svx/sdrmasterpagedescriptor.hxx +++ b/svx/inc/svx/sdrmasterpagedescriptor.hxx @@ -80,8 +80,8 @@ namespace sdr void SetVisibleLayers(const SetOfByte& rNew); // operators - sal_Bool operator==(const MasterPageDescriptor& rCandidate) const; - sal_Bool operator!=(const MasterPageDescriptor& rCandidate) const; + bool operator==(const MasterPageDescriptor& rCandidate) const; + bool operator!=(const MasterPageDescriptor& rCandidate) const; const SdrPageProperties* getCorrectSdrPageProperties() const; }; diff --git a/svx/inc/svx/sdrpaintwindow.hxx b/svx/inc/svx/sdrpaintwindow.hxx index 5191f737f516..bf8620ca8655 100644 --- a/svx/inc/svx/sdrpaintwindow.hxx +++ b/svx/inc/svx/sdrpaintwindow.hxx @@ -112,7 +112,7 @@ public: Rectangle GetVisibleArea() const; // Is OutDev a printer? - sal_Bool OutputToPrinter() const { return (OUTDEV_PRINTER == mrOutputDevice.GetOutDevType()); } + bool OutputToPrinter() const { return (OUTDEV_PRINTER == mrOutputDevice.GetOutDevType()); } // Is OutDev a window? sal_Bool OutputToWindow() const { return (OUTDEV_WINDOW == mrOutputDevice.GetOutDevType()); } @@ -121,7 +121,7 @@ public: sal_Bool OutputToVirtualDevice() const { return (OUTDEV_VIRDEV == mrOutputDevice.GetOutDevType()); } // Is OutDev a recording MetaFile? - sal_Bool OutputToRecordingMetaFile() const; + bool OutputToRecordingMetaFile() const; // prepare PreRendering (evtl.) void PreparePreRenderDevice(); diff --git a/svx/inc/svx/svdcrtv.hxx b/svx/inc/svx/svdcrtv.hxx index 5e42e5f99b11..9a95ba1d377d 100644 --- a/svx/inc/svx/svdcrtv.hxx +++ b/svx/inc/svx/svdcrtv.hxx @@ -114,13 +114,13 @@ public: void SetGluePointEditMode(sal_Bool bOn=sal_True) { SdrDragView::SetGluePointEditMode(bOn); CheckEdgeMode(); } // Determine whether a text tool is activated - sal_Bool IsTextTool() const; + bool IsTextTool() const; // Determine whether an object connector tool activated - sal_Bool IsEdgeTool() const; + bool IsEdgeTool() const; // Determine whether a measurement tool activated - sal_Bool IsMeasureTool() const; + bool IsMeasureTool() const; void SetCurrentObj(sal_uInt16 nIdent, sal_uInt32 nInvent=SdrInventor); void TakeCurrentObj(sal_uInt16& nIdent, sal_uInt32& nInvent) const { nInvent=nAktInvent; nIdent=nAktIdent; } diff --git a/svx/inc/svx/svddrgv.hxx b/svx/inc/svx/svddrgv.hxx index 47ac8a8324b5..1997dfb4145b 100644 --- a/svx/inc/svx/svddrgv.hxx +++ b/svx/inc/svx/svddrgv.hxx @@ -139,8 +139,7 @@ public: sal_Bool IsInsertGluePoint() const { return bInsGluePoint; } // Interaktives einfuegen eines neuen Punktes. nIdx=0 => vor dem ersten Punkt. - sal_Bool IsInsObjPointPossible() const; - sal_Bool IsInsPointPossible() const { return IsInsObjPointPossible(); } + bool IsInsObjPointPossible() const; sal_Bool BegInsObjPoint(const Point& rPnt, sal_Bool bNewObj) { return ImpBegInsObjPoint(sal_False, 0L, rPnt, bNewObj, 0L); } void MovInsObjPoint(const Point& rPnt) { MovDragObj(rPnt); } sal_Bool EndInsObjPoint(SdrCreateCmd eCmd); diff --git a/svx/inc/svx/svdhdl.hxx b/svx/inc/svx/svdhdl.hxx index 5b46d35794d3..2a58f612ec8c 100644 --- a/svx/inc/svx/svdhdl.hxx +++ b/svx/inc/svx/svdhdl.hxx @@ -302,8 +302,8 @@ private: unsigned bGradient : 1; // select which handle to move - unsigned bMoveSingleHandle : 1; - unsigned bMoveFirstHandle : 1; + bool bMoveSingleHandle : 1; + bool bMoveFirstHandle : 1; // create marker for this kind virtual void CreateB2dIAObject(); @@ -329,10 +329,10 @@ public: void FromIAOToItem(SdrObject* pObj, sal_Bool bSetItemOnObject, sal_Bool bUndo); // selection flags for interaction - sal_Bool IsMoveSingleHandle() const { return bMoveSingleHandle; } - void SetMoveSingleHandle(sal_Bool bNew) { bMoveSingleHandle = bNew; } - sal_Bool IsMoveFirstHandle() const { return bMoveFirstHandle; } - void SetMoveFirstHandle(sal_Bool bNew) { bMoveFirstHandle = bNew; } + bool IsMoveSingleHandle() const { return bMoveSingleHandle; } + void SetMoveSingleHandle(bool bNew) { bMoveSingleHandle = bNew; } + bool IsMoveFirstHandle() const { return bMoveFirstHandle; } + void SetMoveFirstHandle(bool bNew) { bMoveFirstHandle = bNew; } }; //////////////////////////////////////////////////////////////////////////////////////////////////// |