summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Godard <lgodard.libre@laposte.net>2013-11-21 18:40:31 +0100
committerLaurent Godard <lgodard.libre@laposte.net>2013-11-21 18:40:54 +0100
commitc74e3aea0bd34a953458107d751433db30425dda (patch)
tree0e8d8028a4e4f2ed32943656d757022e4e2ca30b
parentdcfff93555491ccdbf622897e639d027810f109d (diff)
code cleaning and method renaming
Change-Id: I034b9d1f989a3280db9c35d03e3cfae2d144f076
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx8
-rw-r--r--sc/source/filter/xml/xmlexprt.hxx2
2 files changed, 3 insertions, 7 deletions
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index 1cdbaba2b857..e317f582f20d 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -1961,7 +1961,6 @@ void ScXMLExport::_ExportContent()
sal_Int32 nStartOffset = -1;
sal_Int32 nEndOffset = -1;
if (pSheetData && pDoc && pDoc->IsStreamValid((SCTAB)nTable) && !pDoc->GetChangeTrack())
-// LG if (pSheetData && pDoc && !pDoc->GetChangeTrack())
pSheetData->GetStreamPos( nTable, nStartOffset, nEndOffset );
if ( nStartOffset >= 0 && nEndOffset >= 0 && xSourceStream.is() )
@@ -2405,7 +2404,7 @@ void ScXMLExport::_ExportAutoStyles()
}
// stored notes styles
- ExportAutoStylesFromNotes(pSheetData);
+ ExportAnnotationsAutoStyles(pSheetData);
UniReference<SvXMLExportPropertyMapper> xTextPropMapper = XMLTextParagraphExport::CreateCharExtPropMapper( *this );
@@ -2623,11 +2622,8 @@ void ScXMLExport::_ExportAutoStyles()
GetTextParagraphExport()->exportTextAutoStyles();
}
-void ScXMLExport::ExportAutoStylesFromNotes(ScSheetSaveData* pSheetData)
+void ScXMLExport::ExportAnnotationsAutoStyles(ScSheetSaveData* pSheetData)
{
-
-//ScSheetSaveData* pSheetData = ScModelObj::getImplementation(xSpreadDoc)->GetSheetSaveData();
-
// stored shape styles
UniReference<SvXMLExportPropertyMapper> xShapeMapper = XMLShapeExport::CreateShapePropMapper( *this );
diff --git a/sc/source/filter/xml/xmlexprt.hxx b/sc/source/filter/xml/xmlexprt.hxx
index 1fec736926fe..c3ddc230c6e8 100644
--- a/sc/source/filter/xml/xmlexprt.hxx
+++ b/sc/source/filter/xml/xmlexprt.hxx
@@ -156,7 +156,7 @@ class ScXMLExport : public SvXMLExport
void ExportColumns(const sal_Int32 nTable, const com::sun::star::table::CellRangeAddress& aColumnHeaderRange, const bool bHasColumnHeader);
void ExportExternalRefCacheStyles();
void ExportCellTextAutoStyles(sal_Int32 nTable);
- void ExportAutoStylesFromNotes(ScSheetSaveData* pSheetData);
+ void ExportAnnotationsAutoStyles(ScSheetSaveData* pSheetData);
void ExportFormatRanges(const sal_Int32 nStartCol, const sal_Int32 nStartRow,
const sal_Int32 nEndCol, const sal_Int32 nEndRow, const sal_Int32 nSheet);
void WriteRowContent();