diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-11 14:53:19 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-03-11 23:24:17 +0900 |
commit | 8d7474616b800e61538d57fd501e094c965a82a4 (patch) | |
tree | 38be59e2fb7c20dfc00380399c56487c86cc80ea /svx/inc | |
parent | aac44d9c424861814e81d18b75b6ef315762ccce (diff) |
sal_Bool to bool
Change-Id: I6b01c2f7ae6a7e77583d111373ddfdcb1246c641
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/svx/EnhancedCustomShape2d.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/svx/inc/svx/EnhancedCustomShape2d.hxx b/svx/inc/svx/EnhancedCustomShape2d.hxx index e2cd4eef637c..35690ce03374 100644 --- a/svx/inc/svx/EnhancedCustomShape2d.hxx +++ b/svx/inc/svx/EnhancedCustomShape2d.hxx @@ -123,15 +123,15 @@ class EnhancedCustomShape2d : public SfxItemSet sal_Bool bFlipV; sal_Int32 nRotateAngle; - sal_Bool SetAdjustValueAsDouble( const double& rValue, const sal_Int32 nIndex ); + bool SetAdjustValueAsDouble( const double& rValue, const sal_Int32 nIndex ); sal_Int32 GetLuminanceChange( sal_uInt32 nIndex ) const; Color GetColorData( const Color& rFillColor, sal_uInt32 nIndex, double dBrightness ) const; void AdaptObjColor(SdrPathObj& rObj, const SfxItemSet& rCustomShapeSet, sal_uInt32& nColorIndex, sal_uInt32 nColorCount); - sal_Bool GetParameter( double& rParameterReturnValue, const com::sun::star::drawing::EnhancedCustomShapeParameter&, - const sal_Bool bReplaceGeoWidth, const sal_Bool bReplaceGeoHeight ) const; + bool GetParameter( double& rParameterReturnValue, const com::sun::star::drawing::EnhancedCustomShapeParameter&, + const bool bReplaceGeoWidth, const bool bReplaceGeoHeight ) const; Point GetPoint( const com::sun::star::drawing::EnhancedCustomShapeParameterPair&, - const sal_Bool bScale = sal_True, const sal_Bool bReplaceGeoSize = sal_False ) const; + const bool bScale = true, const bool bReplaceGeoSize = false ) const; void CreateSubPath( sal_uInt16& rSrcPt, sal_uInt16& rSegmentInd, std::vector< SdrPathObj* >& rObjectList, sal_Bool bLineGeometryNeededOnly, sal_Bool bSortFilledObjectsToBack, @@ -181,8 +181,8 @@ class EnhancedCustomShape2d : public SfxItemSet SVX_DLLPUBLIC Rectangle GetTextRect() const; SVX_DLLPUBLIC sal_uInt32 GetHdlCount() const; - SVX_DLLPUBLIC sal_Bool GetHandlePosition( const sal_uInt32 nIndex, Point& rReturnPosition ) const; - SVX_DLLPUBLIC sal_Bool SetHandleControllerPosition( const sal_uInt32 nIndex, const com::sun::star::awt::Point& rPosition ); + SVX_DLLPUBLIC bool GetHandlePosition( const sal_uInt32 nIndex, Point& rReturnPosition ) const; + SVX_DLLPUBLIC bool SetHandleControllerPosition( const sal_uInt32 nIndex, const com::sun::star::awt::Point& rPosition ); SVX_DLLPUBLIC EnhancedCustomShape2d( SdrObject* pSdrObjCustomShape ); SVX_DLLPUBLIC ~EnhancedCustomShape2d(); @@ -211,15 +211,15 @@ class EnhancedCustomShape2d : public SfxItemSet SVX_DLLPUBLIC static rtl::OUString GetEquation( const sal_uInt16 nFlags, sal_Int16 nPara1, sal_Int16 nPara2, sal_Int16 nPara3 ); - static void AppendEnhancedCustomShapeEquationParameter( rtl::OUString& rParameter, const sal_Int16 nPara, const sal_Bool bIsSpecialValue ); + static void AppendEnhancedCustomShapeEquationParameter( rtl::OUString& rParameter, const sal_Int16 nPara, const bool bIsSpecialValue ); static void SetEnhancedCustomShapeEquationParameter( com::sun::star::drawing::EnhancedCustomShapeParameter& rParameter, const sal_Int16 nPara, const sal_Bool bIsSpecialValue ); SVX_DLLPUBLIC static void SetEnhancedCustomShapeParameter( com::sun::star::drawing::EnhancedCustomShapeParameter& rParameter, const sal_Int32 nValue ); SVX_DLLPUBLIC static void SetEnhancedCustomShapeHandleParameter( com::sun::star::drawing::EnhancedCustomShapeParameter& - rParameter, const sal_Int32 nPara, const sal_Bool bIsSpecialValue, sal_Bool bHorz ); - static sal_Bool ConvertSequenceToEnhancedCustomShape2dHandle( const com::sun::star::beans::PropertyValues& rHandleProperties, + rParameter, const sal_Int32 nPara, const bool bIsSpecialValue, bool bHorz ); + static bool ConvertSequenceToEnhancedCustomShape2dHandle( const com::sun::star::beans::PropertyValues& rHandleProperties, EnhancedCustomShape2d::Handle& rDestinationHandle ); static void SwapStartAndEndArrow( SdrObject* pObj ); }; |