summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-05 15:13:53 +0200
committerNoel Grandin <noel@peralex.com>2014-03-11 08:18:19 +0200
commiteeae5cf0432adb83e5e948a217020b776144d783 (patch)
tree4fae56ac560cac89d2ad62308fa0cabe3313b8ee /include/svx
parent729c93c12f3a05bc3afe9a94bbd0a5113a9ff758 (diff)
svx: sal_Bool->bool
Change-Id: I799d547cb3f81aeae19d0c8b6a2161b3064539f0
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/obj3d.hxx16
-rw-r--r--include/svx/optgrid.hxx26
2 files changed, 21 insertions, 21 deletions
diff --git a/include/svx/obj3d.hxx b/include/svx/obj3d.hxx
index 2cfe27c99f9e..18ec02f4603d 100644
--- a/include/svx/obj3d.hxx
+++ b/include/svx/obj3d.hxx
@@ -133,7 +133,7 @@ protected:
// and no instances should be created from anyone, so i move the constructors
// to protected area
E3dObject();
- E3dObject(sal_Bool bIsFromChart);
+ E3dObject(bool bIsFromChart);
public:
TYPEINFO();
@@ -250,7 +250,7 @@ public :
virtual void AddToHdlList(SdrHdlList& rHdlList) const;
// DoubleSided: sal_True/FALSE
- sal_Bool GetDoubleSided() const
+ bool GetDoubleSided() const
{ return ((const Svx3DDoubleSidedItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_DOUBLE_SIDED)).GetValue(); }
// NormalsKind: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
@@ -258,7 +258,7 @@ public :
{ return ((const Svx3DNormalsKindItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_NORMALS_KIND)).GetValue(); }
// NormalsInvert: sal_True/FALSE
- sal_Bool GetNormalsInvert() const
+ bool GetNormalsInvert() const
{ return ((const Svx3DNormalsInvertItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_NORMALS_INVERT)).GetValue(); }
// TextureProjX: 0 == sal_False/sal_False, 1 == sal_True/sal_False, else == sal_True/TRUE
@@ -270,7 +270,7 @@ public :
{ return ((const Svx3DTextureProjectionYItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_TEXTURE_PROJ_Y)).GetValue(); }
// Shadow3D: sal_True/FALSE
- sal_Bool GetShadow3D() const
+ bool GetShadow3D() const
{ return ((const Svx3DShadow3DItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_SHADOW_3D)).GetValue(); }
// MaterialColor: Color
@@ -290,21 +290,21 @@ public :
{ return ((const Svx3DMaterialSpecularIntensityItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_MAT_SPECULAR_INTENSITY)).GetValue(); }
// TextureFilter: sal_True/FALSE
- sal_Bool GetTextureFilter() const
+ bool GetTextureFilter() const
{ return ((const Svx3DTextureFilterItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_TEXTURE_FILTER)).GetValue(); }
// #i28528#
// Added extra Item (Bool) for chart2 to be able to show reduced line geometry
- sal_Bool GetReducedLineGeometry() const
+ bool GetReducedLineGeometry() const
{ return ((const Svx3DReducedLineGeometryItem&)GetObjectItemSet().Get(SDRATTR_3DOBJ_REDUCED_LINE_GEOMETRY)).GetValue(); }
virtual sal_uInt16 GetObjIdentifier() const;
virtual void RecalcSnapRect();
// set/get parameters for geometry creation
- sal_Bool GetCreateNormals() const { return bCreateNormals; }
+ bool GetCreateNormals() const { return bCreateNormals; }
- sal_Bool GetCreateTexture() const { return bCreateTexture; }
+ bool GetCreateTexture() const { return bCreateTexture; }
virtual E3dCompoundObject* Clone() const;
diff --git a/include/svx/optgrid.hxx b/include/svx/optgrid.hxx
index 135abfd28f65..c8f6d4efddcd 100644
--- a/include/svx/optgrid.hxx
+++ b/include/svx/optgrid.hxx
@@ -39,10 +39,10 @@ protected:
sal_uInt32 nFldDivisionY;
sal_uInt32 nFldSnapX;
sal_uInt32 nFldSnapY;
- sal_Bool bUseGridsnap:1;
- sal_Bool bSynchronize:1;
- sal_Bool bGridVisible:1;
- sal_Bool bEqualGrid: 1;
+ bool bUseGridsnap:1;
+ bool bSynchronize:1;
+ bool bGridVisible:1;
+ bool bEqualGrid: 1;
public:
SvxOptionsGrid();
@@ -54,10 +54,10 @@ public:
void SetFldDivisionY(sal_uInt32 nSet){nFldDivisionY = nSet;}
void SetFldSnapX( sal_uInt32 nSet){nFldSnapX = nSet;}
void SetFldSnapY ( sal_uInt32 nSet){nFldSnapY = nSet;}
- void SetUseGridSnap( sal_Bool bSet ) {bUseGridsnap = bSet;}
- void SetSynchronize( sal_Bool bSet ) {bSynchronize = bSet;}
- void SetGridVisible( sal_Bool bSet ) {bGridVisible = bSet;}
- void SetEqualGrid( sal_Bool bSet ) {bEqualGrid = bSet;}
+ void SetUseGridSnap( bool bSet ) {bUseGridsnap = bSet;}
+ void SetSynchronize( bool bSet ) {bSynchronize = bSet;}
+ void SetGridVisible( bool bSet ) {bGridVisible = bSet;}
+ void SetEqualGrid( bool bSet ) {bEqualGrid = bSet;}
sal_uInt32 GetFldDrawX( ) const { return nFldDrawX; }
sal_uInt32 GetFldDivisionX() const { return nFldDivisionX;}
@@ -65,10 +65,10 @@ public:
sal_uInt32 GetFldDivisionY() const { return nFldDivisionY;}
sal_uInt32 GetFldSnapX( ) const { return nFldSnapX; }
sal_uInt32 GetFldSnapY ( ) const { return nFldSnapY; }
- sal_Bool GetUseGridSnap( ) const { return bUseGridsnap; }
- sal_Bool GetSynchronize( ) const { return bSynchronize; }
- sal_Bool GetGridVisible( ) const { return bGridVisible; }
- sal_Bool GetEqualGrid() const { return bEqualGrid; }
+ bool GetUseGridSnap( ) const { return bUseGridsnap; }
+ bool GetSynchronize( ) const { return bSynchronize; }
+ bool GetGridVisible( ) const { return bGridVisible; }
+ bool GetEqualGrid() const { return bEqualGrid; }
};
// class SvxGridItem -----------------------------------------------------
@@ -137,7 +137,7 @@ protected:
MetricField* pMtrFldBezAngle;
private:
- sal_Bool bAttrModified;
+ bool bAttrModified;
DECL_LINK( ClickRotateHdl_Impl, void * );
DECL_LINK( ChangeDrawHdl_Impl, MetricField * );