diff options
author | Noel Grandin <noel@peralex.com> | 2014-03-10 14:58:41 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-03-11 08:18:24 +0200 |
commit | 2ec560e3e687746735d9debb304e9f64384daa65 (patch) | |
tree | 5c7468258af7ab9ebdfd3aa54cfdf51580ffca7b | |
parent | 6c97bc47177adc1c51f69f17e77b9fe2aeade122 (diff) |
svx: sal_Bool->bool
Change-Id: I1b692a9ca5f2580b0815b881a33f3eded7267ac1
-rw-r--r-- | include/svx/svx3ditems.hxx | 38 | ||||
-rw-r--r-- | include/svx/swframeexample.hxx | 8 | ||||
-rw-r--r-- | include/svx/sxcaitm.hxx | 2 | ||||
-rw-r--r-- | include/svx/sxcecitm.hxx | 2 | ||||
-rw-r--r-- | include/svx/sxcllitm.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/func/fucon3d.cxx | 2 | ||||
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShape3d.cxx | 22 | ||||
-rw-r--r-- | svx/source/dialog/swframeexample.cxx | 2 | ||||
-rw-r--r-- | svx/source/engine3d/svx3ditems.cxx | 38 | ||||
-rw-r--r-- | svx/source/engine3d/view3d.cxx | 2 | ||||
-rw-r--r-- | svx/source/unodraw/unopage.cxx | 4 |
11 files changed, 61 insertions, 61 deletions
diff --git a/include/svx/svx3ditems.hxx b/include/svx/svx3ditems.hxx index 22aa67014ddc..142f01d8898c 100644 --- a/include/svx/svx3ditems.hxx +++ b/include/svx/svx3ditems.hxx @@ -62,14 +62,14 @@ public: class SVX_DLLPUBLIC Svx3DDoubleSidedItem : public SfxBoolItem { public: - Svx3DDoubleSidedItem(sal_Bool bVal = 0); + Svx3DDoubleSidedItem(bool bVal = false); }; // #i28528# // Added extra Item (Bool) for chart2 to be able to show reduced line geometry class Svx3DReducedLineGeometryItem : public SfxBoolItem { public: - Svx3DReducedLineGeometryItem(sal_Bool bVal = 0); + Svx3DReducedLineGeometryItem(bool bVal = false); virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const; virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const; }; @@ -86,7 +86,7 @@ public: class Svx3DNormalsInvertItem : public SfxBoolItem { public: - SVX_DLLPUBLIC Svx3DNormalsInvertItem(sal_Bool bVal = 0); + SVX_DLLPUBLIC Svx3DNormalsInvertItem(bool bVal = false); }; class SVX_DLLPUBLIC Svx3DTextureProjectionXItem : public SfxUInt16Item { @@ -111,7 +111,7 @@ public: class Svx3DShadow3DItem : public SfxBoolItem { public: - SVX_DLLPUBLIC Svx3DShadow3DItem(sal_Bool bVal = 0); + SVX_DLLPUBLIC Svx3DShadow3DItem(bool bVal = false); }; class Svx3DMaterialColorItem : public SvxColorItem { @@ -156,7 +156,7 @@ public: class Svx3DTextureFilterItem : public SfxBoolItem { public: - SVX_DLLPUBLIC Svx3DTextureFilterItem(sal_Bool bVal = 0); + SVX_DLLPUBLIC Svx3DTextureFilterItem(bool bVal = false); }; // Svx3D _3DSCENE_ Items @@ -182,7 +182,7 @@ public: class Svx3DTwoSidedLightingItem : public SfxBoolItem { public: - SVX_DLLPUBLIC Svx3DTwoSidedLightingItem(sal_Bool bVal = 0); + SVX_DLLPUBLIC Svx3DTwoSidedLightingItem(bool bVal = false); }; class SVX_DLLPUBLIC Svx3DLightcolor1Item : public SvxColorItem { @@ -232,42 +232,42 @@ public: class SVX_DLLPUBLIC Svx3DLightOnOff1Item : public SfxBoolItem { public: - Svx3DLightOnOff1Item(sal_Bool bVal = 1); + Svx3DLightOnOff1Item(bool bVal = true); }; class SVX_DLLPUBLIC Svx3DLightOnOff2Item : public SfxBoolItem { public: - Svx3DLightOnOff2Item(sal_Bool bVal = 0); + Svx3DLightOnOff2Item(bool bVal = false); }; class SVX_DLLPUBLIC Svx3DLightOnOff3Item : public SfxBoolItem { public: - Svx3DLightOnOff3Item(sal_Bool bVal = 0); + Svx3DLightOnOff3Item(bool bVal = false); }; class SVX_DLLPUBLIC Svx3DLightOnOff4Item : public SfxBoolItem { public: - Svx3DLightOnOff4Item(sal_Bool bVal = 0); + Svx3DLightOnOff4Item(bool bVal = false); }; class SVX_DLLPUBLIC Svx3DLightOnOff5Item : public SfxBoolItem { public: - Svx3DLightOnOff5Item(sal_Bool bVal = 0); + Svx3DLightOnOff5Item(bool bVal = false); }; class SVX_DLLPUBLIC Svx3DLightOnOff6Item : public SfxBoolItem { public: - Svx3DLightOnOff6Item(sal_Bool bVal = 0); + Svx3DLightOnOff6Item(bool bVal = false); }; class SVX_DLLPUBLIC Svx3DLightOnOff7Item : public SfxBoolItem { public: - Svx3DLightOnOff7Item(sal_Bool bVal = 0); + Svx3DLightOnOff7Item(bool bVal = false); }; class SVX_DLLPUBLIC Svx3DLightOnOff8Item : public SfxBoolItem { public: - Svx3DLightOnOff8Item(sal_Bool bVal = 0); + Svx3DLightOnOff8Item(bool bVal = false); }; class SVX_DLLPUBLIC Svx3DLightDirection1Item : public SvxB3DVectorItem { @@ -329,7 +329,7 @@ public: // #107245# Item to replace bExtrudeSmoothed and bLatheSmoothed class Svx3DSmoothNormalsItem : public SfxBoolItem { public: - Svx3DSmoothNormalsItem(sal_Bool bVal = 1); + Svx3DSmoothNormalsItem(bool bVal = true); virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const; virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const; }; @@ -337,7 +337,7 @@ public: // #107245# Item to replace bExtrudeSmoothFrontBack and bLatheSmoothFrontBack class Svx3DSmoothLidsItem : public SfxBoolItem { public: - Svx3DSmoothLidsItem(sal_Bool bVal = 0); + Svx3DSmoothLidsItem(bool bVal = false); virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const; virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const; }; @@ -345,7 +345,7 @@ public: // #107245# Item to replace bExtrudeCharacterMode and bLatheCharacterMode class Svx3DCharacterModeItem : public SfxBoolItem { public: - Svx3DCharacterModeItem(sal_Bool bVal = 0); + Svx3DCharacterModeItem(bool bVal = false); virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const; virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const; }; @@ -353,7 +353,7 @@ public: // #107245# Item to replace bExtrudeCloseFront and bLatheCloseFront class SVX_DLLPUBLIC Svx3DCloseFrontItem : public SfxBoolItem { public: - Svx3DCloseFrontItem(sal_Bool bVal = 1); + Svx3DCloseFrontItem(bool bVal = true); SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const; SVX_DLLPRIVATE virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const; }; @@ -361,7 +361,7 @@ public: // #107245# Item to replace bExtrudeCloseBack and bLatheCloseBack class SVX_DLLPUBLIC Svx3DCloseBackItem : public SfxBoolItem { public: - Svx3DCloseBackItem(sal_Bool bVal = 1); + Svx3DCloseBackItem(bool bVal = true); SVX_DLLPRIVATE virtual SfxPoolItem* Create(SvStream& rIn, sal_uInt16 nItemVersion) const; SVX_DLLPRIVATE virtual sal_uInt16 GetVersion(sal_uInt16 nFileFormatVersion) const; }; diff --git a/include/svx/swframeexample.hxx b/include/svx/swframeexample.hxx index aba11b5bf8e0..4619f0d2ef61 100644 --- a/include/svx/swframeexample.hxx +++ b/include/svx/swframeexample.hxx @@ -57,7 +57,7 @@ class SVX_DLLPUBLIC SvxSwFrameExample : public Window short nWrap; short nAnchor; - sal_Bool bTrans; + bool bTrans; Point aRelPos; @@ -78,13 +78,13 @@ public: inline void SetWrap(sal_uInt16 nW) { nWrap = nW; } - inline void SetHAlign(short nH) { nHAlign = nH; } + inline void SetHAlign(short nH) { nHAlign = nH; } inline void SetHoriRel(short nR) { nHRel = nR; } - inline void SetVAlign(short nV) { nVAlign = nV; } + inline void SetVAlign(short nV) { nVAlign = nV; } inline void SetVertRel(short nR) { nVRel = nR; } - inline void SetTransparent(sal_Bool bT) { bTrans = bT; } + inline void SetTransparent(bool bT) { bTrans = bT; } inline void SetAnchor(short nA) { nAnchor = nA; } void SetRelPos(const Point& rP); diff --git a/include/svx/sxcaitm.hxx b/include/svx/sxcaitm.hxx index 9dac27b82f0b..7961ff0b256f 100644 --- a/include/svx/sxcaitm.hxx +++ b/include/svx/sxcaitm.hxx @@ -31,7 +31,7 @@ class SdrCaptionFixedAngleItem: public SdrOnOffItem { public: - SdrCaptionFixedAngleItem(sal_Bool bFix=sal_True): SdrOnOffItem(SDRATTR_CAPTIONFIXEDANGLE,bFix) {} + SdrCaptionFixedAngleItem(bool bFix=true): SdrOnOffItem(SDRATTR_CAPTIONFIXEDANGLE,bFix) {} SdrCaptionFixedAngleItem(SvStream& rIn) : SdrOnOffItem(SDRATTR_CAPTIONFIXEDANGLE,rIn) {} }; diff --git a/include/svx/sxcecitm.hxx b/include/svx/sxcecitm.hxx index af4e816db746..3dc637ff8537 100644 --- a/include/svx/sxcecitm.hxx +++ b/include/svx/sxcecitm.hxx @@ -52,7 +52,7 @@ public: class SdrCaptionEscIsRelItem: public SdrYesNoItem { public: - SdrCaptionEscIsRelItem(sal_Bool bRel=sal_True): SdrYesNoItem(SDRATTR_CAPTIONESCISREL,bRel) {} + SdrCaptionEscIsRelItem(bool bRel=true): SdrYesNoItem(SDRATTR_CAPTIONESCISREL,bRel) {} SdrCaptionEscIsRelItem(SvStream& rIn) : SdrYesNoItem(SDRATTR_CAPTIONESCISREL,rIn) {} }; diff --git a/include/svx/sxcllitm.hxx b/include/svx/sxcllitm.hxx index a8233cee25e8..159758e72e66 100644 --- a/include/svx/sxcllitm.hxx +++ b/include/svx/sxcllitm.hxx @@ -43,7 +43,7 @@ public: class SdrCaptionFitLineLenItem: public SdrYesNoItem { public: - SdrCaptionFitLineLenItem(sal_Bool bBestFit=sal_True): SdrYesNoItem(SDRATTR_CAPTIONFITLINELEN,bBestFit) {} + SdrCaptionFitLineLenItem(bool bBestFit=true): SdrYesNoItem(SDRATTR_CAPTIONFITLINELEN,bBestFit) {} SdrCaptionFitLineLenItem(SvStream& rIn) : SdrYesNoItem(SDRATTR_CAPTIONFITLINELEN,rIn) {} }; diff --git a/sd/source/ui/func/fucon3d.cxx b/sd/source/ui/func/fucon3d.cxx index 64e7b52016a2..d0510f53736f 100644 --- a/sd/source/ui/func/fucon3d.cxx +++ b/sd/source/ui/func/fucon3d.cxx @@ -121,7 +121,7 @@ E3dCompoundObject* FuConstruct3dObject::ImpCreateBasic3DShape() /* this is an open object, therefore it has to be handled double- sided by default */ - p3DObj->SetMergedItem(Svx3DDoubleSidedItem(sal_True)); + p3DObj->SetMergedItem(Svx3DDoubleSidedItem(true)); break; } diff --git a/svx/source/customshapes/EnhancedCustomShape3d.cxx b/svx/source/customshapes/EnhancedCustomShape3d.cxx index 869eec2b1042..692bec41be44 100644 --- a/svx/source/customshapes/EnhancedCustomShape3d.cxx +++ b/svx/source/customshapes/EnhancedCustomShape3d.cxx @@ -351,7 +351,7 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con { aSet.Put( XLineStyleItem( XLINE_SOLID ) ); aSet.Put( XFillStyleItem ( XFILL_NONE ) ); - aSet.Put( Svx3DDoubleSidedItem( sal_True ) ); + aSet.Put( Svx3DDoubleSidedItem( true ) ); } else { @@ -370,8 +370,8 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con // get visible if(bUseTwoFillStyles || (bIsMirroredX && !bIsMirroredY) || (!bIsMirroredX && bIsMirroredY)) { - aSet.Put( Svx3DDoubleSidedItem( sal_True ) ); - pScene->GetProperties().SetObjectItem( Svx3DTwoSidedLightingItem( sal_True ) ); + aSet.Put( Svx3DDoubleSidedItem( true ) ); + pScene->GetProperties().SetObjectItem( Svx3DTwoSidedLightingItem( true ) ); } } @@ -544,8 +544,8 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con if ( bUseExtrusionColor ) p3DObj->SetMergedItem( XFillColorItem( "", ((XSecondaryFillColorItem&)pCustomShape->GetMergedItem( XATTR_SECONDARYFILLCOLOR )).GetColorValue() ) ); p3DObj->SetMergedItem( XFillStyleItem( XFILL_SOLID ) ); - p3DObj->SetMergedItem( Svx3DCloseFrontItem( sal_False ) ); - p3DObj->SetMergedItem( Svx3DCloseBackItem( sal_False ) ); + p3DObj->SetMergedItem( Svx3DCloseFrontItem( false ) ); + p3DObj->SetMergedItem( Svx3DCloseBackItem( false ) ); pScene->Insert3DObj( p3DObj ); // #i122777# depth 0 is okay for planes when using double-sided @@ -567,9 +567,9 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con { XLineColorItem& rLineColor = (XLineColorItem&)p3DObj->GetMergedItem( XATTR_LINECOLOR ); p3DObj->SetMergedItem( XFillColorItem( "", rLineColor.GetColorValue() ) ); - p3DObj->SetMergedItem( Svx3DDoubleSidedItem( sal_True ) ); - p3DObj->SetMergedItem( Svx3DCloseFrontItem( sal_False ) ); - p3DObj->SetMergedItem( Svx3DCloseBackItem( sal_False ) ); + p3DObj->SetMergedItem( Svx3DDoubleSidedItem( true ) ); + p3DObj->SetMergedItem( Svx3DCloseFrontItem( false ) ); + p3DObj->SetMergedItem( Svx3DCloseBackItem( false ) ); } pScene->Insert3DObj( p3DObj ); bSceneHasObjects = true; @@ -702,7 +702,7 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con sal_uInt8 nSpotLight1 = (sal_uInt8)( fLightIntensity * 255.0 ); basegfx::B3DVector aSpotLight1( aFirstLightDirection.DirectionX, - ( aFirstLightDirection.DirectionY ), -( aFirstLightDirection.DirectionZ ) ); aSpotLight1.normalize(); - pScene->GetProperties().SetObjectItem( Svx3DLightOnOff1Item( sal_True ) ); + pScene->GetProperties().SetObjectItem( Svx3DLightOnOff1Item( true ) ); Color aAmbientSpot1Color( nSpotLight1, nSpotLight1, nSpotLight1 ); pScene->GetProperties().SetObjectItem( Svx3DLightcolor1Item( aAmbientSpot1Color ) ); pScene->GetProperties().SetObjectItem( Svx3DLightDirection1Item( aSpotLight1 ) ); @@ -710,14 +710,14 @@ SdrObject* EnhancedCustomShape3d::Create3DObject( const SdrObject* pShape2d, con sal_uInt8 nSpotLight2 = (sal_uInt8)( fLight2Intensity * 255.0 ); basegfx::B3DVector aSpotLight2( aSecondLightDirection.DirectionX, -aSecondLightDirection.DirectionY, -aSecondLightDirection.DirectionZ ); aSpotLight2.normalize(); - pScene->GetProperties().SetObjectItem( Svx3DLightOnOff2Item( sal_True ) ); + pScene->GetProperties().SetObjectItem( Svx3DLightOnOff2Item( true ) ); Color aAmbientSpot2Color( nSpotLight2, nSpotLight2, nSpotLight2 ); pScene->GetProperties().SetObjectItem( Svx3DLightcolor2Item( aAmbientSpot2Color ) ); pScene->GetProperties().SetObjectItem( Svx3DLightDirection2Item( aSpotLight2 ) ); sal_uInt8 nSpotLight3 = 70; basegfx::B3DVector aSpotLight3( 0.0, 0.0, 1.0 ); - pScene->GetProperties().SetObjectItem( Svx3DLightOnOff3Item( sal_True ) ); + pScene->GetProperties().SetObjectItem( Svx3DLightOnOff3Item( true ) ); Color aAmbientSpot3Color( nSpotLight3, nSpotLight3, nSpotLight3 ); pScene->GetProperties().SetObjectItem( Svx3DLightcolor3Item( aAmbientSpot3Color ) ); pScene->GetProperties().SetObjectItem( Svx3DLightDirection3Item( aSpotLight3 ) ); diff --git a/svx/source/dialog/swframeexample.cxx b/svx/source/dialog/swframeexample.cxx index 2c0abf8d10f3..8af0931419a5 100644 --- a/svx/source/dialog/swframeexample.cxx +++ b/svx/source/dialog/swframeexample.cxx @@ -45,7 +45,7 @@ SvxSwFrameExample::SvxSwFrameExample( Window *pParent, WinBits nStyle ) : nVRel (RelOrientation::PRINT_AREA), nWrap (WrapTextMode_NONE), nAnchor (TextContentAnchorType_AT_PAGE), - bTrans (sal_False), + bTrans (false), aRelPos (Point(0,0)) { InitColors_Impl(); diff --git a/svx/source/engine3d/svx3ditems.cxx b/svx/source/engine3d/svx3ditems.cxx index 38dbdaefdb08..68ca6f81da01 100644 --- a/svx/source/engine3d/svx3ditems.cxx +++ b/svx/source/engine3d/svx3ditems.cxx @@ -56,7 +56,7 @@ Svx3DEndAngleItem::Svx3DEndAngleItem(sal_uInt32 nVal) : SfxUInt32Item(SDRATTR_3DOBJ_END_ANGLE, nVal) {} -Svx3DDoubleSidedItem::Svx3DDoubleSidedItem(sal_Bool bVal) +Svx3DDoubleSidedItem::Svx3DDoubleSidedItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_DOUBLE_SIDED, bVal) {} @@ -64,7 +64,7 @@ Svx3DDoubleSidedItem::Svx3DDoubleSidedItem(sal_Bool bVal) // #i28528# // Added extra Item (Bool) for chart2 to be able to show reduced line geometry -Svx3DReducedLineGeometryItem::Svx3DReducedLineGeometryItem(sal_Bool bVal) +Svx3DReducedLineGeometryItem::Svx3DReducedLineGeometryItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_REDUCED_LINE_GEOMETRY, bVal) {} @@ -92,7 +92,7 @@ Svx3DNormalsKindItem::Svx3DNormalsKindItem(sal_uInt16 nVal) : SfxUInt16Item(SDRATTR_3DOBJ_NORMALS_KIND, nVal) {} -Svx3DNormalsInvertItem::Svx3DNormalsInvertItem(sal_Bool bVal) +Svx3DNormalsInvertItem::Svx3DNormalsInvertItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_NORMALS_INVERT, bVal) {} @@ -104,7 +104,7 @@ Svx3DTextureProjectionYItem::Svx3DTextureProjectionYItem(sal_uInt16 nVal) : SfxUInt16Item(SDRATTR_3DOBJ_TEXTURE_PROJ_Y, nVal) {} -Svx3DShadow3DItem::Svx3DShadow3DItem(sal_Bool bVal) +Svx3DShadow3DItem::Svx3DShadow3DItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_SHADOW_3D, bVal) {} @@ -132,7 +132,7 @@ Svx3DTextureModeItem::Svx3DTextureModeItem(sal_uInt16 nVal) : SfxUInt16Item(SDRATTR_3DOBJ_TEXTURE_MODE, nVal) {} -Svx3DTextureFilterItem::Svx3DTextureFilterItem(sal_Bool bVal) +Svx3DTextureFilterItem::Svx3DTextureFilterItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_TEXTURE_FILTER, bVal) {} @@ -148,7 +148,7 @@ Svx3DFocalLengthItem::Svx3DFocalLengthItem(sal_uInt32 nVal) : SfxUInt32Item(SDRATTR_3DSCENE_FOCAL_LENGTH, nVal) {} -Svx3DTwoSidedLightingItem::Svx3DTwoSidedLightingItem(sal_Bool bVal) +Svx3DTwoSidedLightingItem::Svx3DTwoSidedLightingItem(bool bVal) : SfxBoolItem(SDRATTR_3DSCENE_TWO_SIDED_LIGHTING, bVal) {} @@ -188,35 +188,35 @@ Svx3DAmbientcolorItem::Svx3DAmbientcolorItem(const Color& rCol) : SvxColorItem(rCol, SDRATTR_3DSCENE_AMBIENTCOLOR) {} -Svx3DLightOnOff1Item::Svx3DLightOnOff1Item(sal_Bool bVal) +Svx3DLightOnOff1Item::Svx3DLightOnOff1Item(bool bVal) : SfxBoolItem(SDRATTR_3DSCENE_LIGHTON_1, bVal) {} -Svx3DLightOnOff2Item::Svx3DLightOnOff2Item(sal_Bool bVal) +Svx3DLightOnOff2Item::Svx3DLightOnOff2Item(bool bVal) : SfxBoolItem(SDRATTR_3DSCENE_LIGHTON_2, bVal) {} -Svx3DLightOnOff3Item::Svx3DLightOnOff3Item(sal_Bool bVal) +Svx3DLightOnOff3Item::Svx3DLightOnOff3Item(bool bVal) : SfxBoolItem(SDRATTR_3DSCENE_LIGHTON_3, bVal) {} -Svx3DLightOnOff4Item::Svx3DLightOnOff4Item(sal_Bool bVal) +Svx3DLightOnOff4Item::Svx3DLightOnOff4Item(bool bVal) : SfxBoolItem(SDRATTR_3DSCENE_LIGHTON_4, bVal) {} -Svx3DLightOnOff5Item::Svx3DLightOnOff5Item(sal_Bool bVal) +Svx3DLightOnOff5Item::Svx3DLightOnOff5Item(bool bVal) : SfxBoolItem(SDRATTR_3DSCENE_LIGHTON_5, bVal) {} -Svx3DLightOnOff6Item::Svx3DLightOnOff6Item(sal_Bool bVal) +Svx3DLightOnOff6Item::Svx3DLightOnOff6Item(bool bVal) : SfxBoolItem(SDRATTR_3DSCENE_LIGHTON_6, bVal) {} -Svx3DLightOnOff7Item::Svx3DLightOnOff7Item(sal_Bool bVal) +Svx3DLightOnOff7Item::Svx3DLightOnOff7Item(bool bVal) : SfxBoolItem(SDRATTR_3DSCENE_LIGHTON_7, bVal) {} -Svx3DLightOnOff8Item::Svx3DLightOnOff8Item(sal_Bool bVal) +Svx3DLightOnOff8Item::Svx3DLightOnOff8Item(bool bVal) : SfxBoolItem(SDRATTR_3DSCENE_LIGHTON_8, bVal) {} @@ -263,7 +263,7 @@ Svx3DShadeModeItem::Svx3DShadeModeItem(sal_uInt16 nVal) // #107245# -Svx3DSmoothNormalsItem::Svx3DSmoothNormalsItem(sal_Bool bVal) +Svx3DSmoothNormalsItem::Svx3DSmoothNormalsItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_SMOOTH_NORMALS, bVal) {} @@ -288,7 +288,7 @@ SfxPoolItem* Svx3DSmoothNormalsItem::Create(SvStream& rIn, sal_uInt16 nItemVersi // #107245# -Svx3DSmoothLidsItem::Svx3DSmoothLidsItem(sal_Bool bVal) +Svx3DSmoothLidsItem::Svx3DSmoothLidsItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_SMOOTH_LIDS, bVal) {} @@ -313,7 +313,7 @@ SfxPoolItem* Svx3DSmoothLidsItem::Create(SvStream& rIn, sal_uInt16 nItemVersion) // #107245# -Svx3DCharacterModeItem::Svx3DCharacterModeItem(sal_Bool bVal) +Svx3DCharacterModeItem::Svx3DCharacterModeItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_CHARACTER_MODE, bVal) {} @@ -338,7 +338,7 @@ SfxPoolItem* Svx3DCharacterModeItem::Create(SvStream& rIn, sal_uInt16 nItemVersi // #107245# -Svx3DCloseFrontItem::Svx3DCloseFrontItem(sal_Bool bVal) +Svx3DCloseFrontItem::Svx3DCloseFrontItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_CLOSE_FRONT, bVal) {} @@ -363,7 +363,7 @@ SfxPoolItem* Svx3DCloseFrontItem::Create(SvStream& rIn, sal_uInt16 nItemVersion) // #107245# -Svx3DCloseBackItem::Svx3DCloseBackItem(sal_Bool bVal) +Svx3DCloseBackItem::Svx3DCloseBackItem(bool bVal) : SfxBoolItem(SDRATTR_3DOBJ_CLOSE_BACK, bVal) {} diff --git a/svx/source/engine3d/view3d.cxx b/svx/source/engine3d/view3d.cxx index 645adc8006be..39d47f285360 100644 --- a/svx/source/engine3d/view3d.cxx +++ b/svx/source/engine3d/view3d.cxx @@ -728,7 +728,7 @@ void E3dView::ImpCreateSingle3DObjectFlat(E3dScene* pScene, SdrObject* pObj, boo aDefault.SetDefaultExtrudeCloseFront(false); aDefault.SetDefaultExtrudeCloseBack(false); - aSet.Put(Svx3DDoubleSidedItem(sal_True)); + aSet.Put(Svx3DDoubleSidedItem(true)); // Set fill attribute aSet.Put(XFillStyleItem(XFILL_SOLID)); diff --git a/svx/source/unodraw/unopage.cxx b/svx/source/unodraw/unopage.cxx index e2002c9ac3e6..26e04683fff8 100644 --- a/svx/source/unodraw/unopage.cxx +++ b/svx/source/unodraw/unopage.cxx @@ -503,7 +503,7 @@ SdrObject *SvxDrawPage::_CreateSdrObject(const Reference< drawing::XShape > & xS pObj->SetExtrudePolygon(basegfx::B2DPolyPolygon(aNewPolygon)); // #107245# pObj->SetExtrudeCharacterMode(sal_True); - pObj->SetMergedItem(Svx3DCharacterModeItem(sal_True)); + pObj->SetMergedItem(Svx3DCharacterModeItem(true)); } else if(pNewObj->ISA(E3dLatheObj)) { @@ -516,7 +516,7 @@ SdrObject *SvxDrawPage::_CreateSdrObject(const Reference< drawing::XShape > & xS pObj->SetPolyPoly2D(basegfx::B2DPolyPolygon(aNewPolygon)); // #107245# pObj->SetLatheCharacterMode(sal_True); - pObj->SetMergedItem(Svx3DCharacterModeItem(sal_True)); + pObj->SetMergedItem(Svx3DCharacterModeItem(true)); } } } |