diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2022-12-08 14:07:36 +0200 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2022-12-09 00:13:42 +0000 |
commit | 95a3d7733c5b48c99b2b74b06c7eeee718fdcd03 (patch) | |
tree | cbf3ae5636e9321bfe0d87c93f2eaad49c7294e7 /include/xmloff/table | |
parent | 8bd31225d79f10993d0e0727ee7d27c729874b51 (diff) |
Deduplicate table styles insertion
(Not adding a test here, as this should already be covered
by several tests in sw/qa/extras/odfexport/odfexport.cxx.)
Change-Id: Ic3cae9f38efc55d3d9055a45bc642d7b15fa382a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143840
Tested-by: Jenkins
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'include/xmloff/table')
-rw-r--r-- | include/xmloff/table/XMLTableImport.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/xmloff/table/XMLTableImport.hxx b/include/xmloff/table/XMLTableImport.hxx index 0889637f2e23..3577ed8adedf 100644 --- a/include/xmloff/table/XMLTableImport.hxx +++ b/include/xmloff/table/XMLTableImport.hxx @@ -58,13 +58,12 @@ public: const rtl::Reference< SvXMLImportPropertyMapper >& GetColumnImportPropertySetMapper() const { return mxColumnImportPropertySetMapper; } void addTableTemplate( const OUString& rsStyleName, XMLTableTemplate& xTableTemplate ); - /// Inserts to the doc template with given name. - void insertTabletemplate( const OUString& rsStyleName, bool bOverwrite); /// Inserts all table templates. void finishStyles(); private: SvXMLImport& mrImport; + bool mbWriter; rtl::Reference< SvXMLImportPropertyMapper > mxCellImportPropertySetMapper; rtl::Reference< SvXMLImportPropertyMapper > mxRowImportPropertySetMapper; rtl::Reference< SvXMLImportPropertyMapper > mxColumnImportPropertySetMapper; |