diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-05-03 18:09:15 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2013-05-03 21:11:55 +0200 |
commit | 2493acd50c9c2e1922381e09ea33860894e320b2 (patch) | |
tree | f3d97da2a443d7d037c15e47ff671a1aa8338cfc | |
parent | 699b1aef2730951da12c68a537119fac4f5b323a (diff) |
fdo#48056 treat report chart as draw chart
Change-Id: I0a716b4339747f1994e5c8710e15474807aea4a2
-rw-r--r-- | include/comphelper/classids.hxx | 6 | ||||
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/include/comphelper/classids.hxx b/include/comphelper/classids.hxx index 39ab6095802e..3410207a58d8 100644 --- a/include/comphelper/classids.hxx +++ b/include/comphelper/classids.hxx @@ -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 ****************************************************/ diff --git a/xmloff/source/draw/shapeexport.cxx b/xmloff/source/draw/shapeexport.cxx index 06dc3af15e1f..33d60de33011 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -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; } |