summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2011-08-12 15:53:12 +0200
committerThorsten Behrens <tbehrens@novell.com>2011-08-12 16:56:31 +0200
commita81327ff2faaf21c22f1a902bea170942d5207e6 (patch)
tree907c30a7a582308957d7b2bacbef1877cb03b21a /sc
parentf418927e6fc5228d9d08a2d11e0234661038374c (diff)
Import SmartArt graphics to Impress
Extending the existing functionality to * properly parse and model the declarative shapes * provide means for round-tripping, and re-rendering the shapes from xml snippets * implements the layouts composite, cycle, linear, and the special 'text' node This is based on the initial smartart work from hfiguiere@novell.com
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/excel/xestream.cxx4
-rw-r--r--sc/source/filter/inc/xestream.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx
index 0d66d463d60e..b83affe01ad6 100644
--- a/sc/source/filter/excel/xestream.cxx
+++ b/sc/source/filter/excel/xestream.cxx
@@ -1091,10 +1091,10 @@ const oox::drawingml::table::TableStyleListPtr XclExpXmlStream::getTableStyles()
return oox::drawingml::table::TableStyleListPtr();
}
-oox::drawingml::chart::ChartConverter& XclExpXmlStream::getChartConverter()
+oox::drawingml::chart::ChartConverter* XclExpXmlStream::getChartConverter()
{
// DO NOT CALL
- return * (oox::drawingml::chart::ChartConverter*) NULL;
+ return NULL;
}
ScDocShell* XclExpXmlStream::getDocShell()
diff --git a/sc/source/filter/inc/xestream.hxx b/sc/source/filter/inc/xestream.hxx
index 0af3d7227779..1af271b42570 100644
--- a/sc/source/filter/inc/xestream.hxx
+++ b/sc/source/filter/inc/xestream.hxx
@@ -340,7 +340,7 @@ public:
virtual oox::vml::Drawing* getVmlDrawing();
virtual const oox::drawingml::Theme* getCurrentTheme() const;
virtual const oox::drawingml::table::TableStyleListPtr getTableStyles();
- virtual oox::drawingml::chart::ChartConverter& getChartConverter();
+ virtual oox::drawingml::chart::ChartConverter* getChartConverter();
private:
virtual ::oox::ole::VbaProject* implCreateVbaProject() const;