summaryrefslogtreecommitdiff
path: root/agg
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
commit998dde80c075e89ea5197b210cb7f438f82bad3f (patch)
tree7f5a8f43f5653461dd3eb4bcb96a8c7ab2389bf2 /agg
parent43353b627e996c1c8a48db9eff8fbb4de070546f (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
Diffstat (limited to 'agg')
-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 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<line_profile_aa&>(*m_profile); }
//---------------------------------------------------------------------
int subpixel_width() const { return m_profile->subpixel_width(); }