diff options
Diffstat (limited to 'sc/source/filter/xml')
-rw-r--r-- | sc/source/filter/xml/XMLCellRangeSourceContext.hxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLConsolidationContext.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLConverter.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLConverter.hxx | 10 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLDetectiveContext.hxx | 10 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLExportIterator.cxx | 18 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLExportIterator.hxx | 18 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLStylesExportHelper.cxx | 10 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLStylesExportHelper.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexternaltabi.cxx | 10 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexternaltabi.hxx | 8 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlfilti.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmllabri.hxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xml/xmltabi.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmltabi.hxx | 2 |
15 files changed, 53 insertions, 53 deletions
diff --git a/sc/source/filter/xml/XMLCellRangeSourceContext.hxx b/sc/source/filter/xml/XMLCellRangeSourceContext.hxx index 568a8dc32d2e..e71bc2b4d93f 100644 --- a/sc/source/filter/xml/XMLCellRangeSourceContext.hxx +++ b/sc/source/filter/xml/XMLCellRangeSourceContext.hxx @@ -25,7 +25,7 @@ class ScXMLImport; -//___________________________________________________________________ + struct ScMyImpCellRangeSource { @@ -41,7 +41,7 @@ struct ScMyImpCellRangeSource }; -//___________________________________________________________________ + class ScXMLCellRangeSourceContext : public SvXMLImportContext { diff --git a/sc/source/filter/xml/XMLConsolidationContext.hxx b/sc/source/filter/xml/XMLConsolidationContext.hxx index be1e376dae8e..49f5d6ce7ed2 100644 --- a/sc/source/filter/xml/XMLConsolidationContext.hxx +++ b/sc/source/filter/xml/XMLConsolidationContext.hxx @@ -27,7 +27,7 @@ class ScXMLImport; -//___________________________________________________________________ + class ScXMLConsolidationContext : public SvXMLImportContext { diff --git a/sc/source/filter/xml/XMLConverter.cxx b/sc/source/filter/xml/XMLConverter.cxx index b208c219be56..2c4a62b1e78a 100644 --- a/sc/source/filter/xml/XMLConverter.cxx +++ b/sc/source/filter/xml/XMLConverter.cxx @@ -363,7 +363,7 @@ void ScXMLConverter::ConvertAPIToCoreDateTime(const util::DateTime& aDateTime, D rDateTime = aTempDateTime; } -// ============================================================================ + namespace { @@ -650,6 +650,6 @@ OUString ScXMLConditionHelper::getExpression( const sal_Unicode*& rpcString, con return aExp; } -// ============================================================================ + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/filter/xml/XMLConverter.hxx b/sc/source/filter/xml/XMLConverter.hxx index 241151360b0a..325f7a5cf6c8 100644 --- a/sc/source/filter/xml/XMLConverter.hxx +++ b/sc/source/filter/xml/XMLConverter.hxx @@ -35,7 +35,7 @@ class ScDocument; class DateTime; -//___________________________________________________________________ + class ScXMLConverter { @@ -104,7 +104,7 @@ public: static void ConvertAPIToCoreDateTime(const com::sun::star::util::DateTime& aDateTime, DateTime& rDateTime); }; -// ============================================================================ + enum ScXMLConditionToken { @@ -124,7 +124,7 @@ enum ScXMLConditionToken XML_COND_ISTRUEFORMULA /// The 'is-true-formula' token. }; -// ---------------------------------------------------------------------------- + /** Result of an attempt to parse a single condition in a 'condition' attribute value of e.g. conditional formatting or data validation. @@ -141,7 +141,7 @@ struct ScXMLConditionParseResult sal_Int32 mnEndIndex; /// Index of first character following the condition. }; -// ---------------------------------------------------------------------------- + class ScXMLConditionHelper { @@ -161,7 +161,7 @@ private: ~ScXMLConditionHelper(); }; -// ============================================================================ + #endif diff --git a/sc/source/filter/xml/XMLDetectiveContext.hxx b/sc/source/filter/xml/XMLDetectiveContext.hxx index 9925a1362429..ef099baf3fc2 100644 --- a/sc/source/filter/xml/XMLDetectiveContext.hxx +++ b/sc/source/filter/xml/XMLDetectiveContext.hxx @@ -30,7 +30,7 @@ class ScXMLImport; -//___________________________________________________________________ + struct ScMyImpDetectiveObj { @@ -44,7 +44,7 @@ struct ScMyImpDetectiveObj typedef ::std::vector< ScMyImpDetectiveObj > ScMyImpDetectiveObjVec; -//___________________________________________________________________ + struct ScMyImpDetectiveOp { @@ -75,7 +75,7 @@ public: }; -//___________________________________________________________________ + class ScXMLDetectiveContext : public SvXMLImportContext { @@ -103,7 +103,7 @@ public: }; -//___________________________________________________________________ + class ScXMLDetectiveHighlightedContext : public SvXMLImportContext { @@ -134,7 +134,7 @@ public: }; -//___________________________________________________________________ + class ScXMLDetectiveOperationContext : public SvXMLImportContext { diff --git a/sc/source/filter/xml/XMLExportIterator.cxx b/sc/source/filter/xml/XMLExportIterator.cxx index 31d7fdca54be..edccba9a9a5a 100644 --- a/sc/source/filter/xml/XMLExportIterator.cxx +++ b/sc/source/filter/xml/XMLExportIterator.cxx @@ -35,7 +35,7 @@ using namespace ::com::sun::star; -//============================================================================== + ScMyIteratorBase::ScMyIteratorBase() { @@ -58,7 +58,7 @@ void ScMyIteratorBase::UpdateAddress( table::CellAddress& rCellAddress ) } -//============================================================================== + bool ScMyShape::operator<(const ScMyShape& aShape) const { @@ -182,7 +182,7 @@ void ScMyNoteShapesContainer::Sort() aNoteShapeList.sort(); } -//============================================================================== + bool ScMyMergedRange::operator<(const ScMyMergedRange& aRange) const { @@ -274,7 +274,7 @@ void ScMyMergedRangesContainer::Sort() aRangeList.sort(); } -//============================================================================== + bool ScMyAreaLink::Compare( const ScMyAreaLink& rAreaLink ) const { @@ -356,7 +356,7 @@ void ScMyAreaLinksContainer::Sort() aAreaLinkList.sort(); } -//============================================================================== + ScMyCellRangeAddress::ScMyCellRangeAddress(const table::CellRangeAddress& rRange) : table::CellRangeAddress(rRange) @@ -436,7 +436,7 @@ void ScMyEmptyDatabaseRangesContainer::Sort() aDatabaseList.sort(); } -//============================================================================== + bool ScMyDetectiveObj::operator<( const ScMyDetectiveObj& rDetObj) const { @@ -524,7 +524,7 @@ void ScMyDetectiveObjContainer::Sort() aDetectiveObjList.sort(); } -//============================================================================== + bool ScMyDetectiveOp::operator<( const ScMyDetectiveOp& rDetOp) const { @@ -590,7 +590,7 @@ void ScMyDetectiveOpContainer::Sort() aDetectiveOpList.sort(); } -//============================================================================== + ScMyCell::ScMyCell() : aShapeList(), @@ -614,7 +614,7 @@ ScMyCell::~ScMyCell() { } -//============================================================================== + ScMyNotEmptyCellsIterator::ScMyNotEmptyCellsIterator(ScXMLExport& rTempXMLExport) : pShapes(NULL), diff --git a/sc/source/filter/xml/XMLExportIterator.hxx b/sc/source/filter/xml/XMLExportIterator.hxx index 83380ae3e03d..b03132435d88 100644 --- a/sc/source/filter/xml/XMLExportIterator.hxx +++ b/sc/source/filter/xml/XMLExportIterator.hxx @@ -44,7 +44,7 @@ struct ScMyCell; class ScXMLExport; class ScFormatRangeStyles; -//============================================================================== + class ScMyIteratorBase { @@ -61,7 +61,7 @@ public: virtual void UpdateAddress( ::com::sun::star::table::CellAddress& rCellAddress ); }; -//============================================================================== + struct ScMyShape { @@ -124,7 +124,7 @@ public: void SkipTable(SCTAB nSkip); }; -//============================================================================== + struct ScMyMergedRange { @@ -153,7 +153,7 @@ public: void SkipTable(SCTAB nSkip); }; -//============================================================================== + struct ScMyAreaLink { @@ -194,7 +194,7 @@ public: void SkipTable(SCTAB nSkip); }; -//============================================================================== + struct ScMyCellRangeAddress : com::sun::star::table::CellRangeAddress { @@ -221,7 +221,7 @@ public: void SkipTable(SCTAB nSkip); }; -//============================================================================== + struct ScMyDetectiveObj { @@ -258,7 +258,7 @@ public: void SkipTable(SCTAB nSkip); }; -//============================================================================== + struct ScMyDetectiveOp { @@ -289,7 +289,7 @@ public: void SkipTable(SCTAB nSkip); }; -//============================================================================== + // contains data to export for the current cell position struct ScMyCell @@ -330,7 +330,7 @@ struct ScMyCell ~ScMyCell(); }; -//============================================================================== + class ScMyNotEmptyCellsIterator : boost::noncopyable { diff --git a/sc/source/filter/xml/XMLStylesExportHelper.cxx b/sc/source/filter/xml/XMLStylesExportHelper.cxx index 6a50503764a4..decd8e9f294c 100644 --- a/sc/source/filter/xml/XMLStylesExportHelper.cxx +++ b/sc/source/filter/xml/XMLStylesExportHelper.cxx @@ -450,7 +450,7 @@ const OUString& ScMyValidationsContainer::GetValidationName(const sal_Int32 nInd return aValidationVec[nIndex].sName; } -//============================================================================== + sal_Int32 ScMyDefaultStyles::GetStyleNameIndex(const ScFormatRangeStyles* pCellStyles, const sal_Int32 nTable, const sal_Int32 nPos, @@ -686,7 +686,7 @@ void ScRowFormatRanges::Sort() aRowFormatRanges.sort(); } -// ============================================================================ + ScMyFormatRange::ScMyFormatRange() : nStyleNameIndex(-1), nValidationIndex(-1), @@ -990,7 +990,7 @@ void ScFormatRangeStyles::Sort() aTables[i]->sort(); } -//=========================================================================== + ScColumnRowStylesBase::ScColumnRowStylesBase() : aStyleNames() @@ -1051,7 +1051,7 @@ OUString* ScColumnRowStylesBase::GetStyleNameByIndex(const sal_Int32 nIndex) return aStyleNames[nIndex]; } -//=========================================================================== + ScColumnStyles::ScColumnStyles() : ScColumnRowStylesBase(), @@ -1109,7 +1109,7 @@ OUString* ScColumnStyles::GetStyleName(const sal_Int32 nTable, const sal_Int32 n return GetStyleNameByIndex(GetStyleNameIndex(nTable, nField, bTemp)); } -//=========================================================================== + ScRowStyles::Cache::Cache() : mnTable(-1), mnStart(-1), mnEnd(-1), mnStyle(-1) {} diff --git a/sc/source/filter/xml/XMLStylesExportHelper.hxx b/sc/source/filter/xml/XMLStylesExportHelper.hxx index cdb618e95710..22bd61250e36 100644 --- a/sc/source/filter/xml/XMLStylesExportHelper.hxx +++ b/sc/source/filter/xml/XMLStylesExportHelper.hxx @@ -97,7 +97,7 @@ public: const OUString& GetValidationName(const sal_Int32 nIndex); }; -//============================================================================== + struct ScMyDefaultStyle { diff --git a/sc/source/filter/xml/xmlexternaltabi.cxx b/sc/source/filter/xml/xmlexternaltabi.cxx index c34b6227dd7d..0f80a8c56d5e 100644 --- a/sc/source/filter/xml/xmlexternaltabi.cxx +++ b/sc/source/filter/xml/xmlexternaltabi.cxx @@ -41,7 +41,7 @@ using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; using ::com::sun::star::xml::sax::XAttributeList; -// ============================================================================ + ScXMLExternalRefTabSourceContext::ScXMLExternalRefTabSourceContext( ScXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLName, @@ -124,7 +124,7 @@ void ScXMLExternalRefTabSourceContext::EndElement() pRefMgr->setFilterData(mrExternalRefInfo.mnFileId, maFilterName, maFilterOptions); } -// ============================================================================ + ScXMLExternalRefRowsContext::ScXMLExternalRefRowsContext( ScXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLName, @@ -167,7 +167,7 @@ void ScXMLExternalRefRowsContext::EndElement() { } -// ============================================================================ + ScXMLExternalRefRowContext::ScXMLExternalRefRowContext( ScXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLName, @@ -244,7 +244,7 @@ void ScXMLExternalRefRowContext::EndElement() mrExternalRefInfo.mnRow += mnRepeatRowCount; } -// ============================================================================ + ScXMLExternalRefCellContext::ScXMLExternalRefCellContext( ScXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLName, @@ -397,7 +397,7 @@ void ScXMLExternalRefCellContext::SetCellString(const OUString& rStr) maCellString = rStr; } -// ============================================================================ + ScXMLExternalRefCellTextContext::ScXMLExternalRefCellTextContext( ScXMLImport& rImport, sal_uInt16 nPrefix, const OUString& rLName, diff --git a/sc/source/filter/xml/xmlexternaltabi.hxx b/sc/source/filter/xml/xmlexternaltabi.hxx index 4edf3f89dbf5..050a751d1ffa 100644 --- a/sc/source/filter/xml/xmlexternaltabi.hxx +++ b/sc/source/filter/xml/xmlexternaltabi.hxx @@ -53,7 +53,7 @@ private: OUString maFilterOptions; }; -// ============================================================================ + class ScXMLExternalRefRowsContext : public SvXMLImportContext { @@ -77,7 +77,7 @@ private: ScXMLExternalTabData& mrExternalRefInfo; }; -// ============================================================================ + class ScXMLExternalRefRowContext : public SvXMLImportContext { @@ -102,7 +102,7 @@ private: sal_Int32 mnRepeatRowCount; }; -// ============================================================================ + class ScXMLExternalRefCellContext : public SvXMLImportContext { @@ -136,7 +136,7 @@ private: bool mbIsEmpty; }; -// ============================================================================ + class ScXMLExternalRefCellTextContext : public SvXMLImportContext { diff --git a/sc/source/filter/xml/xmlfilti.cxx b/sc/source/filter/xml/xmlfilti.cxx index 89e7366d3179..31a0cbd069d3 100644 --- a/sc/source/filter/xml/xmlfilti.cxx +++ b/sc/source/filter/xml/xmlfilti.cxx @@ -521,7 +521,7 @@ void ScXMLSetItemContext::EndElement() { } -//========================================================================== + ScXMLDPFilterContext::ScXMLDPFilterContext( ScXMLImport& rImport, sal_uInt16 nPrfx, diff --git a/sc/source/filter/xml/xmllabri.hxx b/sc/source/filter/xml/xmllabri.hxx index 70b9d9517a44..3ca64e632f97 100644 --- a/sc/source/filter/xml/xmllabri.hxx +++ b/sc/source/filter/xml/xmllabri.hxx @@ -24,7 +24,7 @@ class ScXMLImport; -//___________________________________________________________________ + class ScXMLLabelRangesContext : public SvXMLImportContext { @@ -50,7 +50,7 @@ public: }; -//___________________________________________________________________ + class ScXMLLabelRangeContext : public SvXMLImportContext { diff --git a/sc/source/filter/xml/xmltabi.cxx b/sc/source/filter/xml/xmltabi.cxx index a933a1ee22c1..df8164d76a96 100644 --- a/sc/source/filter/xml/xmltabi.cxx +++ b/sc/source/filter/xml/xmltabi.cxx @@ -425,7 +425,7 @@ void ScXMLTableContext::EndElement() } } -// ============================================================================ + ScXMLImport& ScXMLTableProtectionContext::GetScImport() { diff --git a/sc/source/filter/xml/xmltabi.hxx b/sc/source/filter/xml/xmltabi.hxx index 670e29d43246..d88b504f1984 100644 --- a/sc/source/filter/xml/xmltabi.hxx +++ b/sc/source/filter/xml/xmltabi.hxx @@ -65,7 +65,7 @@ public: virtual void EndElement(); }; -// ============================================================================ + class ScXMLTableProtectionContext : public SvXMLImportContext { |