diff options
author | Jan Holesovsky <kendy@collabora.com> | 2016-06-23 10:18:35 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2016-06-23 10:58:32 +0200 |
commit | a07a69850acddae631d6bd9496ace0c35accdda5 (patch) | |
tree | 55dd27860faecd4e8e39e40abf576cb8585e8f4f /include | |
parent | 535ac37c5ff9b9dc60f6f56e4cfd518eff764975 (diff) |
Introduce FillAutoStyle() method to reduce copy'n'paste.
Change-Id: Ibdb6ae15790cc117d3d8c41c57924f9b22e85cba
Diffstat (limited to 'include')
-rw-r--r-- | include/xmloff/SchXMLImportHelper.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xmloff/SchXMLImportHelper.hxx b/include/xmloff/SchXMLImportHelper.hxx index 415a9a0c71de..765a96014c9e 100644 --- a/include/xmloff/SchXMLImportHelper.hxx +++ b/include/xmloff/SchXMLImportHelper.hxx @@ -100,6 +100,9 @@ public: void SetAutoStylesContext( SvXMLStylesContext* pAutoStyles ) { mpAutoStyles = pAutoStyles; } SvXMLStylesContext* GetAutoStylesContext() const { return mpAutoStyles; } + /// Fill in the autostyle. + void FillAutoStyle(const OUString& rAutoStyleName, const css::uno::Reference<css::beans::XPropertySet>& rProp); + const css::uno::Reference< css::chart::XChartDocument >& GetChartDocument() { return mxChartDoc; } |