diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-05-03 18:09:15 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-05-16 07:49:12 +0000 |
commit | 7e868f818c9863461cdf388e3d9fddaffb70d9ca (patch) | |
tree | 0efdd17c0118b9c04a1e91c4a441cd70e1e54bc8 | |
parent | 777661cedbccf69876794eb7152367401d25d4ed (diff) |
fdo#48056 treat report chart as draw chart
Change-Id: I0a716b4339747f1994e5c8710e15474807aea4a2
Reviewed-on: https://gerrit.libreoffice.org/3770
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
-rw-r--r-- | comphelper/inc/comphelper/classids.hxx | 6 | ||||
-rw-r--r-- | xmloff/source/draw/shapeexport.cxx | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/comphelper/inc/comphelper/classids.hxx b/comphelper/inc/comphelper/classids.hxx index dcfe50248d20..a6c304ad1ae4 100644 --- a/comphelper/inc/comphelper/classids.hxx +++ b/comphelper/inc/comphelper/classids.hxx @@ -414,6 +414,12 @@ // #110743# #define BF_SO3_SCH_CLASSID BF_SO3_SCH_CLASSID_50 +// 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 bec909b5f1ba..22891c457857 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -1091,7 +1091,8 @@ void XMLShapeExport::ImpCalcShapeType(const uno::Reference< drawing::XShape >& x rtl::OUString sCLSID; if(xPropSet->getPropertyValue(OUString("CLSID")) >>= sCLSID) { - if (sCLSID.equals(mrExport.GetChartExport()->getChartCLSID())) + if (sCLSID.equals(mrExport.GetChartExport()->getChartCLSID()) || + sCLSID.equals(rtl::OUString( SvGlobalName( SO3_RPTCH_CLASSID ).GetHexName()))) { eShapeType = XmlShapeTypeDrawChartShape; } |