summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-01-17 14:28:41 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-01-17 14:30:59 -0500
commit1fb5ecdd7442247e0ed8154928b66fab0bcbe3ad (patch)
treeb3fb2f85d285f2080a65b0d0526a3f82d7790bec /sc/source/ui/drawfunc
parent3f390be5a7f3dd0108e2257fa57cfcca6d0859e3 (diff)
Const correct-ness in one place...
And an avalanche of changes that ensued. Change-Id: I7f882b621ba5af4cd01b2ac7f482ee3eed24e3d5
Diffstat (limited to 'sc/source/ui/drawfunc')
-rw-r--r--sc/source/ui/drawfunc/chartsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/chartsh.cxx b/sc/source/ui/drawfunc/chartsh.cxx
index 251fa5d5b044..06ff385b43e8 100644
--- a/sc/source/ui/drawfunc/chartsh.cxx
+++ b/sc/source/ui/drawfunc/chartsh.cxx
@@ -90,7 +90,7 @@ void ScChartShell::ExecuteExportAsGraphic( SfxRequest& )
{
SdrOle2Obj* aOle2Object = ((SdrOle2Obj*) pObject)->Clone();
aOle2Object->NbcResize(Point(), Fraction(1,1), Fraction(1,1));
- Graphic* pGraphic = aOle2Object->GetGraphic();
+ const Graphic* pGraphic = aOle2Object->GetGraphic();
if( pGraphic != NULL )
{
String sGrfNm, sFilterNm;