Kaydet (Commit) 2493acd5 authored tarafından Lionel Elie Mamane's avatar Lionel Elie Mamane

fdo#48056 treat report chart as draw chart

Change-Id: I0a716b4339747f1994e5c8710e15474807aea4a2
üst 699b1aef
......@@ -280,6 +280,12 @@
#define SO3_SCH_CLASSID SO3_SCH_CLASSID_60
// Report chart
#define SO3_RPTCH_CLASSID \
0x80243D39, 0x6741, 0x46C5, 0x92, 0x6E, 0x06, \
0x91, 0x64, 0xFF, 0x87, 0xBB
/****************************************************
* StarImage
****************************************************/
......
......@@ -1080,7 +1080,8 @@ void XMLShapeExport::ImpCalcShapeType(const uno::Reference< drawing::XShape >& x
OUString sCLSID;
if(xPropSet->getPropertyValue(OUString("CLSID")) >>= sCLSID)
{
if (sCLSID.equals(mrExport.GetChartExport()->getChartCLSID()))
if (sCLSID.equals(mrExport.GetChartExport()->getChartCLSID()) ||
sCLSID.equals(OUString( SvGlobalName( SO3_RPTCH_CLASSID ).GetHexName())))
{
eShapeType = XmlShapeTypeDrawChartShape;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment