From 998dde80c075e89ea5197b210cb7f438f82bad3f Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Fri, 11 Jul 2008 06:12:25 +0000 Subject: INTEGRATION: CWS thb30fixes (1.2.30); FILE MERGED 2008/06/20 15:47:55 thb 1.2.30.1: #i78214# Fix for const-incorrectness --- agg/inc/agg_renderer_outline_aa.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'agg') diff --git a/agg/inc/agg_renderer_outline_aa.h b/agg/inc/agg_renderer_outline_aa.h index e1f2a428d33b..ef4f80e89437 100755 --- a/agg/inc/agg_renderer_outline_aa.h +++ b/agg/inc/agg_renderer_outline_aa.h @@ -1372,7 +1372,7 @@ namespace agg //--------------------------------------------------------------------- void profile(const line_profile_aa& prof) { m_profile = &prof; } const line_profile_aa& profile() const { return *m_profile; } - line_profile_aa& profile() { return *m_profile; } + line_profile_aa& profile() { return const_cast(*m_profile); } //--------------------------------------------------------------------- int subpixel_width() const { return m_profile->subpixel_width(); } -- cgit