diff options
Diffstat (limited to 'drape_frontend/path_text_shape.cpp')
-rw-r--r-- | drape_frontend/path_text_shape.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drape_frontend/path_text_shape.cpp b/drape_frontend/path_text_shape.cpp index f4e7dc6a30..f9832f0df3 100644 --- a/drape_frontend/path_text_shape.cpp +++ b/drape_frontend/path_text_shape.cpp @@ -87,9 +87,9 @@ namespace } - vector<m2::RectF> & GetPixelShape(ScreenBase const & screen) + void GetPixelShape(ScreenBase const & screen, Rects & rects) const { - return m_bboxes; + rects = m_bboxes; } void GetAttributeMutation(dp::RefPointer<dp::AttributeBufferMutator> mutator, ScreenBase const & screen) const @@ -125,7 +125,7 @@ namespace m2::SharedSpline m_spline; m2::Spline::iterator m_begin; m2::Spline::iterator m_end; - mutable vector<m2::RectF> m_bboxes; + mutable Rects m_bboxes; df::SharedTextLayout m_layout; float m_scalePtoG; |