diff --git a/common/eda_text.cpp b/common/eda_text.cpp index f86863b53a..31c227d2bd 100644 --- a/common/eda_text.cpp +++ b/common/eda_text.cpp @@ -617,7 +617,7 @@ void EDA_TEXT::TransformTextShapeToSegmentList( std::vector& aCornerBuf } -std::shared_ptr EDA_TEXT::GetEffectiveShape( ) const +std::shared_ptr EDA_TEXT::GetEffectiveTextShape( ) const { std::shared_ptr shape ( new SHAPE_COMPOUND ); int penWidth = GetEffectiveTextPenWidth(); diff --git a/include/eda_text.h b/include/eda_text.h index e3607cd8b3..22356ae94b 100644 --- a/include/eda_text.h +++ b/include/eda_text.h @@ -293,7 +293,7 @@ public: void TransformBoundingBoxWithClearanceToPolygon( SHAPE_POLY_SET* aCornerBuffer, int aClearanceValue ) const; - std::shared_ptr GetEffectiveShape( ) const; + std::shared_ptr GetEffectiveTextShape( ) const; /** * Test if \a aPoint is within the bounds of this object.