Kaydet (Commit) 93acb28e authored tarafından Daniel Bankston's avatar Daniel Bankston Kaydeden (comit) Luboš Luňák

fdo#44610 - EasyHack

Since they always return sal_Bool values that are not used by any callers, I changed the Region class methods (both versions of each Union, Intersect, Exclude, XOr) from sal_Bool return type to void return type.
üst b20dd016
......@@ -99,14 +99,14 @@ public:
void Move( long nHorzMove, long nVertMove );
void Scale( double fScaleX, double fScaleY );
sal_Bool Union( const Rectangle& rRegion );
sal_Bool Intersect( const Rectangle& rRegion );
sal_Bool Exclude( const Rectangle& rRegion );
sal_Bool XOr( const Rectangle& rRegion );
sal_Bool Union( const Region& rRegion );
sal_Bool Intersect( const Region& rRegion );
sal_Bool Exclude( const Region& rRegion );
sal_Bool XOr( const Region& rRegion );
void Union( const Rectangle& rRegion );
void Intersect( const Rectangle& rRegion );
void Exclude( const Rectangle& rRegion );
void XOr( const Rectangle& rRegion );
void Union( const Region& rRegion );
void Intersect( const Region& rRegion );
void Exclude( const Region& rRegion );
void XOr( const Region& rRegion );
RegionType GetType() const;
sal_Bool IsEmpty() const { return GetType() == REGION_EMPTY; };
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment