summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-11 06:12:25 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-11 06:12:25 +0000
commit28b12fb5e80e7862a6c55ff10a0933a6cc1eb85a (patch)
treed7cf7baeed543396b001abbdf1da5a9af1179396
parent9e96520d3b4443a1ee9d8708a12593caaa226ae4 (diff)
INTEGRATION: CWS thb30fixes (1.2.30); FILE MERGED
2008/06/20 15:47:55 thb 1.2.30.1: #i78214# Fix for const-incorrectness
-rwxr-xr-xagg/inc/agg_renderer_outline_aa.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/agg/inc/agg_renderer_outline_aa.h b/agg/inc/agg_renderer_outline_aa.h
index ffc1a49..8e17994 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<line_profile_aa&>(*m_profile); }
//---------------------------------------------------------------------
int subpixel_width() const { return m_profile->subpixel_width(); }