summaryrefslogtreecommitdiff
path: root/oox/source/drawingml/graphicshapecontext.cxx
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2013-01-29 10:42:46 +0100
committerRadek Doulik <rodo@novell.com>2013-01-29 10:49:46 +0100
commit972609a87f1269a86fd1290a1e34eb9683e6426a (patch)
tree79f5e1bd802bb971b91d7445daded40717449a33 /oox/source/drawingml/graphicshapecontext.cxx
parentc5cf7905a2df4660695afe4f690e8d466931b58c (diff)
use ole obj preview image
Change-Id: I7e88ca553fcb8449a337af36554dd1996bc6dd7d
Diffstat (limited to 'oox/source/drawingml/graphicshapecontext.cxx')
-rw-r--r--oox/source/drawingml/graphicshapecontext.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/oox/source/drawingml/graphicshapecontext.cxx b/oox/source/drawingml/graphicshapecontext.cxx
index 96f47b0374cf..2b46302296c8 100644
--- a/oox/source/drawingml/graphicshapecontext.cxx
+++ b/oox/source/drawingml/graphicshapecontext.cxx
@@ -213,6 +213,9 @@ Reference< XFastContextHandler > OleObjectGraphicDataContext::createFastChildCon
OSL_ENSURE( mrOleObjectInfo.mbLinked, "OleObjectGraphicDataContext::createFastChildContext - unexpected child element" );
mrOleObjectInfo.mbAutoUpdate = aAttribs.getBool( XML_updateAutomatic, false );
break;
+ case PPT_TOKEN( pic ):
+ xRet.set( new GraphicShapeContext( *this, mpMasterShapePtr, mpShapePtr ) );
+ break;
}
return xRet;
}