diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-06-29 23:57:38 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2013-06-30 04:58:49 +0000 |
commit | 710f41b7aec8e7d35a0da8be332aa289f98942af (patch) | |
tree | b894ef2d3f06a63a85f423b2713a654ea57f9c69 /include/tools/b3dtrans.hxx | |
parent | 1ca3beae12a7f222c987481e07a544845fc9fd46 (diff) |
Clean String and sal_Bool in tools
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655
Reviewed-on: https://gerrit.libreoffice.org/4627
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Diffstat (limited to 'include/tools/b3dtrans.hxx')
-rw-r--r-- | include/tools/b3dtrans.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/tools/b3dtrans.hxx b/include/tools/b3dtrans.hxx index c9e65950b1b6..5dace979b820 100644 --- a/include/tools/b3dtrans.hxx +++ b/include/tools/b3dtrans.hxx @@ -145,13 +145,13 @@ public: // Parameters of ViewportTransformation void SetDeviceRectangle(double fL=-1.0, double fR=1.0, double fB=-1.0, double fT=1.0, - sal_Bool bBroadCastChange=sal_True); + bool bBroadCastChange=true); double GetDeviceRectangleWidth() const { return mfRightBound - mfLeftBound; } double GetDeviceRectangleHeight() const { return mfTopBound - mfBottomBound; } double GetFrontClippingPlane() { return mfNearBound; } double GetBackClippingPlane() { return mfFarBound; } - void SetPerspective(sal_Bool bNew); - sal_Bool GetPerspective() { return mbPerspective; } + void SetPerspective(bool bNew); + bool GetPerspective() { return mbPerspective; } void SetViewportRectangle(Rectangle& rRect, Rectangle& rVisible); void SetViewportRectangle(Rectangle& rRect) { SetViewportRectangle(rRect, rRect); } const Rectangle& GetViewportRectangle() { return maViewportRectangle; } @@ -234,7 +234,7 @@ public: const basegfx::B3DPoint& rPos = basegfx::B3DPoint(0.0, 0.0, 1.0), const basegfx::B3DVector& rLkAt = basegfx::B3DVector(0.0, 0.0, 0.0), double fFocLen = 35.0, double fBnkAng = 0.0, - sal_Bool bUseFocLen = sal_False); + bool bUseFocLen = false); virtual ~B3dCamera(); const basegfx::B3DPoint& GetPosition() const { return aPosition; } @@ -245,11 +245,11 @@ public: double GetBankAngle() const { return fBankAngle; } - sal_Bool GetUseFocalLength() const { return (sal_Bool)bUseFocalLength; } + bool GetUseFocalLength() const { return (bool)bUseFocalLength; } protected: void CalcNewViewportValues(); - sal_Bool CalcFocalLength(); + bool CalcFocalLength(); virtual void DeviceRectangleChange(); }; |