diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-05-03 18:09:15 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-05-06 11:40:59 +0000 |
commit | d69a05d97c8a686ff24bd6d89905dfd3aee6a1cb (patch) | |
tree | 28c08311c6562b494ef7e72535e1fee81d05ce44 | |
parent | f7eb34071af02e9cfe79f926a69e66992f1c6b20 (diff) |
fdo#48056 treat report chart as draw chart
Change-Id: I0a716b4339747f1994e5c8710e15474807aea4a2
Reviewed-on: https://gerrit.libreoffice.org/3767
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
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 416715b24808..4a16e442316f 100644 --- a/comphelper/inc/comphelper/classids.hxx +++ b/comphelper/inc/comphelper/classids.hxx @@ -405,6 +405,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 a4c71b474d99..c7d812b3f8ae 100644 --- a/xmloff/source/draw/shapeexport.cxx +++ b/xmloff/source/draw/shapeexport.cxx @@ -1079,7 +1079,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; } |