summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-03-11 12:00:14 +0200
committerNoel Grandin <noel@peralex.com>2014-03-14 07:50:31 +0200
commitfae4102573d184696a1fe1394258ec9ad3a895dc (patch)
treeacb48c8543b3b80b872efd9aa7027c9589c4eb35 /include
parent86ffac74e3e0a725abe6b0f79946b3381828bc8e (diff)
svx: sal_Bool->bool
Change-Id: I8eac9bfecbf8ecc4aa5dd2b098bb57aab3dd424e
Diffstat (limited to 'include')
-rw-r--r--include/svx/verttexttbxctrl.hxx4
-rw-r--r--include/svx/view3d.hxx18
-rw-r--r--include/svx/viewpt3d.hxx6
3 files changed, 11 insertions, 17 deletions
diff --git a/include/svx/verttexttbxctrl.hxx b/include/svx/verttexttbxctrl.hxx
index 7f9279a1d5dc..e502fea5a2c2 100644
--- a/include/svx/verttexttbxctrl.hxx
+++ b/include/svx/verttexttbxctrl.hxx
@@ -27,14 +27,14 @@
*/
class SvxVertCTLTextTbxCtrl : public SfxToolBoxControl
{
- sal_Bool bCheckVertical; //determines whether vertical mode or CTL mode has to be checked
+ bool bCheckVertical; //determines whether vertical mode or CTL mode has to be checked
public:
SvxVertCTLTextTbxCtrl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rTbx );
~SvxVertCTLTextTbxCtrl();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
- void SetVert(sal_Bool bSet) {bCheckVertical = bSet;}
+ void SetVert(bool bSet) {bCheckVertical = bSet;}
};
diff --git a/include/svx/view3d.hxx b/include/svx/view3d.hxx
index db502f55f785..8c444b804c4d 100644
--- a/include/svx/view3d.hxx
+++ b/include/svx/view3d.hxx
@@ -63,7 +63,7 @@ protected:
// Migrate selections
Impl3DMirrorConstructOverlay* mpMirrorOverlay;
- sal_Bool bDoubleSided;
+ bool bDoubleSided;
void InitView();
@@ -108,7 +108,7 @@ public:
// Means to create all Extrudes in a certain depth order.
void DoDepthArrange(E3dScene* pScene, double fDepth);
- void ConvertMarkedToPolyObj(sal_Bool bLineToArea);
+ void ConvertMarkedToPolyObj(bool bLineToArea);
E3dScene* SetCurrent3DObj(E3dObject* p3DObj);
void Start3DCreation();
@@ -242,18 +242,12 @@ public:
bool IsBreak3DObjPossible() const;
void Break3DObj();
- sal_Bool DoubleSided () const
- {
- return bDoubleSided;
- }
+ bool DoubleSided () const { return bDoubleSided; }
- sal_Bool &DoubleSided ()
- {
- return bDoubleSided;
- }
+ bool &DoubleSided () { return bDoubleSided; }
- SfxItemSet Get3DAttributes(E3dScene* pInScene = NULL, sal_Bool bOnly3DAttr=sal_False) const;
- void Set3DAttributes(const SfxItemSet& rAttr, E3dScene* pInScene = NULL, sal_Bool bOnly3DAttr=sal_False);
+ SfxItemSet Get3DAttributes(E3dScene* pInScene = NULL, bool bOnly3DAttr=false) const;
+ void Set3DAttributes(const SfxItemSet& rAttr, E3dScene* pInScene = NULL, bool bOnly3DAttr=false);
};
#endif // INCLUDED_SVX_VIEW3D_HXX
diff --git a/include/svx/viewpt3d.hxx b/include/svx/viewpt3d.hxx
index 621f01e7b469..0239c17119f1 100644
--- a/include/svx/viewpt3d.hxx
+++ b/include/svx/viewpt3d.hxx
@@ -70,7 +70,7 @@ class SVX_DLLPUBLIC Viewport3D
basegfx::B3DPoint aViewPoint; // Beobachterstandpunkt in Weltkoordinaten;
// wird mit der Transformation berechnet
- sal_Bool bTfValid; // Flag, ob Transformation gueltig ist
+ bool bTfValid; // Flag, ob Transformation gueltig ist
double fWRatio; // Device/View-Seitenverhaeltnisse
double fHRatio;
@@ -95,11 +95,11 @@ class SVX_DLLPUBLIC Viewport3D
double GetFarClipDist() const { return fFarClipDist; }
void SetProjection(ProjectionType ePrj)
- { eProjection = ePrj; bTfValid = sal_False; }
+ { eProjection = ePrj; bTfValid = false; }
ProjectionType GetProjection() const { return(eProjection); }
void SetAspectMapping(AspectMapType eAsp)
- { eAspectMapping = eAsp; bTfValid = sal_False; }
+ { eAspectMapping = eAsp; bTfValid = false; }
AspectMapType GetAspectMapping() { return eAspectMapping; }
void SetViewWindow(double fX, double fY, double fW, double fH);