summaryrefslogtreecommitdiff
path: root/filter
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 /filter
parent3f390be5a7f3dd0108e2257fa57cfcca6d0859e3 (diff)
Const correct-ness in one place...
And an avalanche of changes that ensued. Change-Id: I7f882b621ba5af4cd01b2ac7f482ee3eed24e3d5
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/escherex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 9949d3d34d96..cf08b7f339cd 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -1132,7 +1132,7 @@ sal_Bool EscherPropertyContainer::CreateOLEGraphicProperties(
SdrObject* pSdrOLE2( GetSdrObjectFromXShape( rXShape ) ); // SJ: leaving unoapi, because currently there is
if ( pSdrOLE2 && pSdrOLE2->ISA( SdrOle2Obj ) ) // no access to the native graphic object
{
- Graphic* pGraphic = ((SdrOle2Obj*)pSdrOLE2)->GetGraphic();
+ const Graphic* pGraphic = static_cast<SdrOle2Obj*>(pSdrOLE2)->GetGraphic();
if ( pGraphic )
{
GraphicObject aGraphicObject( *pGraphic );