diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 19:57:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-28 20:26:17 +0100 |
commit | 0d957046f103605ba51b2a59a8f4c463ca33010a (patch) | |
tree | 66acd5576bd19167c14837d8b036673485f252bc /svx/source/engine3d/obj3d.cxx | |
parent | bd9581d46d78c5742fbb50f1b4a9ff2fc1dae7e8 (diff) |
bool improvements
Change-Id: Ic32faa81bfbb66a9d8632fb3db187e33c31188ed
Diffstat (limited to 'svx/source/engine3d/obj3d.cxx')
-rw-r--r-- | svx/source/engine3d/obj3d.cxx | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx index a9c5d65590af..d3e1902a5e55 100644 --- a/svx/source/engine3d/obj3d.cxx +++ b/svx/source/engine3d/obj3d.cxx @@ -255,19 +255,19 @@ sal_uInt16 E3dObject::GetObjIdentifier() const void E3dObject::TakeObjInfo(SdrObjTransformInfoRec& rInfo) const { - rInfo.bResizeFreeAllowed = sal_True; - rInfo.bResizePropAllowed = sal_True; - rInfo.bRotateFreeAllowed = sal_True; - rInfo.bRotate90Allowed = sal_True; - rInfo.bMirrorFreeAllowed = sal_False; - rInfo.bMirror45Allowed = sal_False; - rInfo.bMirror90Allowed = sal_False; - rInfo.bShearAllowed = sal_False; - rInfo.bEdgeRadiusAllowed = sal_False; - rInfo.bCanConvToPath = sal_False; + rInfo.bResizeFreeAllowed = true; + rInfo.bResizePropAllowed = true; + rInfo.bRotateFreeAllowed = true; + rInfo.bRotate90Allowed = true; + rInfo.bMirrorFreeAllowed = false; + rInfo.bMirror45Allowed = false; + rInfo.bMirror90Allowed = false; + rInfo.bShearAllowed = false; + rInfo.bEdgeRadiusAllowed = false; + rInfo.bCanConvToPath = false; // no transparence for 3d objects - rInfo.bTransparenceAllowed = sal_False; + rInfo.bTransparenceAllowed = false; // gradient depends on fillstyle // BM *** check if SetItem is NULL *** @@ -279,10 +279,10 @@ void E3dObject::TakeObjInfo(SdrObjTransformInfoRec& rInfo) const // 2D polygons would be required which need to be sorted by depth, // ie at intersections be cut relative to each other. Also the texture // coorinates were an unsolved problem. - rInfo.bCanConvToPoly = sal_False; - rInfo.bCanConvToContour = sal_False; - rInfo.bCanConvToPathLineToArea = sal_False; - rInfo.bCanConvToPolyLineToArea = sal_False; + rInfo.bCanConvToPoly = false; + rInfo.bCanConvToContour = false; + rInfo.bCanConvToPathLineToArea = false; + rInfo.bCanConvToPolyLineToArea = false; } void E3dObject::NbcSetLayer(SdrLayerID nLayer) @@ -759,7 +759,7 @@ void E3dObject::NbcRotate(const Point& rRef, long nWink, double sn, double cs) NbcRotateGluePoints(rRef,nWink,sn,cs); // Rotate the glue points (who still // have coordinates relative to the // original page) - SetGlueReallyAbsolute(sal_False); // from now they are again relative to BoundRect (that is defined as aOutRect) + SetGlueReallyAbsolute(false); // from now they are again relative to BoundRect (that is defined as aOutRect) } /*************************************************************************/ |