diff options
author | Eike Rathke <erack@redhat.com> | 2016-12-10 00:03:42 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-12-10 00:04:36 +0100 |
commit | 7b1c8fa23342f847c7bbc99627dbb3fec0a57205 (patch) | |
tree | e8a9ce312855e09d99c273ebc7e9c0559012df7a | |
parent | b579c928a8642bc5f455438c1fef01e8df7e195f (diff) |
rename to RegisterDefinedStyleNames() to clarify, tdf#104097 follow-up
Change-Id: Iecb64ab1e25913180bcb53a133f9dd6777ffb17b
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 6 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexprt.hxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index aba30c22c950..94cbd8e844ff 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -1834,7 +1834,7 @@ const ScXMLEditAttributeMap& ScXMLExport::GetEditAttributeMap() const return *mpEditAttrMap; } -void ScXMLExport::RegisterDefinedNames( uno::Reference< css::sheet::XSpreadsheetDocument > & xSpreadDoc ) +void ScXMLExport::RegisterDefinedStyleNames( uno::Reference< css::sheet::XSpreadsheetDocument > & xSpreadDoc ) { ScFormatSaveData* pFormatData = ScModelObj::getImplementation(xSpreadDoc)->GetFormatSaveData(); auto xAutoStylePool = GetAutoStylePool(); @@ -1941,7 +1941,7 @@ void ScXMLExport::ExportStyles_( bool bUsed ) { Reference <sheet::XSpreadsheetDocument> xSpreadDoc( GetModel(), uno::UNO_QUERY ); if (xSpreadDoc.is()) - RegisterDefinedNames( xSpreadDoc); + RegisterDefinedStyleNames( xSpreadDoc); if (!pSharedData) { @@ -2269,7 +2269,7 @@ void ScXMLExport::ExportAutoStyles_() if (getExportFlags() & SvXMLExportFlags::CONTENT) { // Reserve the loaded cell style names. - RegisterDefinedNames( xSpreadDoc); + RegisterDefinedStyleNames( xSpreadDoc); // re-create automatic styles with old names from stored data ScSheetSaveData* pSheetData = ScModelObj::getImplementation(xSpreadDoc)->GetSheetSaveData(); diff --git a/sc/source/filter/xml/xmlexprt.hxx b/sc/source/filter/xml/xmlexprt.hxx index fb14aa81530d..833163db6cbb 100644 --- a/sc/source/filter/xml/xmlexprt.hxx +++ b/sc/source/filter/xml/xmlexprt.hxx @@ -131,7 +131,7 @@ class ScXMLExport : public SvXMLExport sal_Int32 GetNumberFormatStyleIndex(sal_Int32 nNumFmt) const; void CollectSharedData(SCTAB& nTableCount, sal_Int32& nShapesCount); void CollectShapesAutoStyles(SCTAB nTableCount); - void RegisterDefinedNames( css::uno::Reference< css::sheet::XSpreadsheetDocument > & xSpreadDoc ); + void RegisterDefinedStyleNames( css::uno::Reference< css::sheet::XSpreadsheetDocument > & xSpreadDoc ); virtual void ExportFontDecls_() override; virtual void ExportStyles_( bool bUsed ) override; virtual void ExportAutoStyles_() override; |