summaryrefslogtreecommitdiff
path: root/include/svx/graphctl.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-05 11:16:02 +0200
committerNoel Grandin <noel@peralex.com>2014-03-11 08:18:16 +0200
commit5e456cc3b30f2e099429f7075eda23e86871621e (patch)
tree97d50b238356b6e5187b505415fe844acae68326 /include/svx/graphctl.hxx
parent11bb658a60777243483fe8e682ca46e88855690a (diff)
svx: sal_Bool->bool
Change-Id: I061f1e15c816f8077c0fbb0abbc1474eb286796b
Diffstat (limited to 'include/svx/graphctl.hxx')
-rw-r--r--include/svx/graphctl.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/svx/graphctl.hxx b/include/svx/graphctl.hxx
index ee183bbb8dd8..41d214e7f349 100644
--- a/include/svx/graphctl.hxx
+++ b/include/svx/graphctl.hxx
@@ -49,10 +49,10 @@ class SVX_DLLPUBLIC GraphCtrl : public Control
GraphCtrlUserCall* pUserCall;
WinBits nWinStyle;
SdrObjKind eObjKind;
- sal_uInt16 nPolyEdit;
- sal_Bool bEditMode;
- sal_Bool bSdrMode;
- sal_Bool bAnim;
+ sal_uInt16 nPolyEdit;
+ bool bEditMode;
+ bool bSdrMode;
+ bool bAnim;
DECL_LINK( UpdateHdl, Timer* );
@@ -87,17 +87,17 @@ public:
void SetWinStyle( WinBits nWinBits );
WinBits GetWinStyle() const { return nWinStyle; }
- void SetGraphic( const Graphic& rGraphic, sal_Bool bNewModel = sal_True );
+ void SetGraphic( const Graphic& rGraphic, bool bNewModel = true );
const Graphic& GetGraphic() const { return aGraphic; }
const Size& GetGraphicSize() const { return aGraphSize; }
const Point& GetMousePos() const { return aMousePos; }
- void SetEditMode( const sal_Bool bEditMode );
- sal_Bool IsEditMode() const { return bEditMode; }
+ void SetEditMode( const bool bEditMode );
+ bool IsEditMode() const { return bEditMode; }
void SetPolyEditMode( const sal_uInt16 nPolyEdit );
- sal_uInt16 GetPolyEditMode() const { return nPolyEdit; }
+ sal_uInt16 GetPolyEditMode() const { return nPolyEdit; }
void SetObjKind( const SdrObjKind eObjKind );
SdrObjKind GetObjKind() const { return eObjKind; }
@@ -105,7 +105,7 @@ public:
SdrModel* GetSdrModel() const { return pModel; }
SdrView* GetSdrView() const { return pView; }
SdrObject* GetSelectedSdrObject() const;
- sal_Bool IsChanged() const { return bSdrMode ? pModel->IsChanged() : sal_False; }
+ bool IsChanged() const { return bSdrMode ? pModel->IsChanged() : sal_False; }
void SetMousePosLink( const Link& rLink ) { aMousePosLink = rLink; }
const Link& GetMousePosLink() const { return aMousePosLink; }