diff options
author | Justin Luth <justin_luth@sil.org> | 2018-01-17 12:22:24 +0300 |
---|---|---|
committer | Justin Luth <justin_luth@sil.org> | 2018-01-17 18:01:55 +0100 |
commit | ee2750f3a5324166e844f9c6afa399742ea96743 (patch) | |
tree | 5497b0ec13a8aa4dbb8df6bfaddc1a003647cae8 /writerfilter/source | |
parent | ae094e77035baed23c02516b4b445e044e631b40 (diff) |
writerfilter: remove unused sStyleName1
Both sStyleName and sStyleName1 were part of the original
fork from the OOo project. I'm
not sure if/how it was ever used, but sStyleName1 is unused now.
Change-Id: I71b54645aa0615101529aa4d5008973f740da1f0
Reviewed-on: https://gerrit.libreoffice.org/48036
Reviewed-by: Justin Luth <justin_luth@sil.org>
Tested-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'writerfilter/source')
-rw-r--r-- | writerfilter/source/dmapper/StyleSheetTable.cxx | 2 | ||||
-rw-r--r-- | writerfilter/source/dmapper/StyleSheetTable.hxx | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/writerfilter/source/dmapper/StyleSheetTable.cxx b/writerfilter/source/dmapper/StyleSheetTable.cxx index eec228747398..7c52ef505aef 100644 --- a/writerfilter/source/dmapper/StyleSheetTable.cxx +++ b/writerfilter/source/dmapper/StyleSheetTable.cxx @@ -81,7 +81,6 @@ TableStyleSheetEntry::TableStyleSheetEntry( StyleSheetEntry const & rEntry ): sBaseStyleIdentifier = rEntry.sBaseStyleIdentifier; sNextStyleIdentifier = rEntry.sNextStyleIdentifier; sStyleName = rEntry.sStyleName; - sStyleName1 = rEntry.sStyleName1; sStyleIdentifierD = rEntry.sStyleIdentifierD; } @@ -530,7 +529,6 @@ void StyleSheetTable::lcl_sprm(Sprm & rSprm) case NS_ooxml::LN_CT_Style_name: //this is only a UI name! m_pImpl->m_pCurrentEntry->sStyleName = sStringValue; - m_pImpl->m_pCurrentEntry->sStyleName1 = sStringValue; if(m_pImpl->m_pCurrentEntry->nStyleTypeCode == STYLE_TYPE_TABLE) { TableStyleSheetEntry* pTableEntry = static_cast<TableStyleSheetEntry *>(m_pImpl->m_pCurrentEntry.get()); diff --git a/writerfilter/source/dmapper/StyleSheetTable.hxx b/writerfilter/source/dmapper/StyleSheetTable.hxx index fa8b40cb0434..933a6e20fd85 100644 --- a/writerfilter/source/dmapper/StyleSheetTable.hxx +++ b/writerfilter/source/dmapper/StyleSheetTable.hxx @@ -62,7 +62,6 @@ public: OUString sBaseStyleIdentifier; OUString sNextStyleIdentifier; OUString sStyleName; - OUString sStyleName1; PropertyMapPtr pProperties; OUString sConvertedStyleName; std::vector<css::beans::PropertyValue> aLatentStyles; ///< Attributes of latentStyles |