summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/comphelper/classids.hxx6
-rw-r--r--xmloff/source/draw/shapeexport.cxx3
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;
}