diff options
Diffstat (limited to 'sc/source/filter/xml')
-rw-r--r-- | sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLExportIterator.cxx | 8 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLExportIterator.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLStylesExportHelper.cxx | 8 | ||||
-rw-r--r-- | sc/source/filter/xml/XMLStylesExportHelper.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmldrani.hxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexprt.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlexprt.hxx | 2 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlimprt.cxx | 4 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlimprt.hxx | 2 |
10 files changed, 20 insertions, 20 deletions
diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx index bea8c9d6ce91..31dff197bd04 100644 --- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx +++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.hxx @@ -106,8 +106,8 @@ struct ScMyMoveRanges ScBigRange aSourceRange; ScBigRange aTargetRange; - ScMyMoveRanges(const ScBigRange& aSource, const ScBigRange aTarget) : - aSourceRange(aSource), aTargetRange(aTarget) {} + ScMyMoveRanges(const ScBigRange& rSource, const ScBigRange& rTarget) : + aSourceRange(rSource), aTargetRange(rTarget) {} }; typedef std::list<sal_uInt32> ScMyDependencies; diff --git a/sc/source/filter/xml/XMLExportIterator.cxx b/sc/source/filter/xml/XMLExportIterator.cxx index f08e4ddabf18..319b3d086c9f 100644 --- a/sc/source/filter/xml/XMLExportIterator.cxx +++ b/sc/source/filter/xml/XMLExportIterator.cxx @@ -191,14 +191,14 @@ ScMyMergedRangesContainer::~ScMyMergedRangesContainer() { } -void ScMyMergedRangesContainer::AddRange(const table::CellRangeAddress aMergedRange) +void ScMyMergedRangesContainer::AddRange(const table::CellRangeAddress& rMergedRange) { - sal_Int32 nStartRow(aMergedRange.StartRow); - sal_Int32 nEndRow(aMergedRange.EndRow); + sal_Int32 nStartRow(rMergedRange.StartRow); + sal_Int32 nEndRow(rMergedRange.EndRow); ScMyMergedRange aRange; aRange.bIsFirst = true; - aRange.aCellRange = aMergedRange; + aRange.aCellRange = rMergedRange; aRange.aCellRange.EndRow = nStartRow; aRange.nRows = nEndRow - nStartRow + 1; aRangeList.push_back( aRange ); diff --git a/sc/source/filter/xml/XMLExportIterator.hxx b/sc/source/filter/xml/XMLExportIterator.hxx index d075ebc97b97..41e59dc975c8 100644 --- a/sc/source/filter/xml/XMLExportIterator.hxx +++ b/sc/source/filter/xml/XMLExportIterator.hxx @@ -139,7 +139,7 @@ protected: public: ScMyMergedRangesContainer(); virtual ~ScMyMergedRangesContainer(); - void AddRange(const com::sun::star::table::CellRangeAddress aMergedRange); + void AddRange(const com::sun::star::table::CellRangeAddress& rMergedRange); using ScMyIteratorBase::UpdateAddress; virtual void SetCellData( ScMyCell& rMyCell ) SAL_OVERRIDE; diff --git a/sc/source/filter/xml/XMLStylesExportHelper.cxx b/sc/source/filter/xml/XMLStylesExportHelper.cxx index de76274c6aa9..acb079e5e875 100644 --- a/sc/source/filter/xml/XMLStylesExportHelper.cxx +++ b/sc/source/filter/xml/XMLStylesExportHelper.cxx @@ -956,18 +956,18 @@ void ScFormatRangeStyles::GetFormatRanges(const sal_Int32 nStartColumn, const sa pRowFormatRanges->Sort(); } -void ScFormatRangeStyles::AddRangeStyleName(const table::CellRangeAddress aCellRangeAddress, +void ScFormatRangeStyles::AddRangeStyleName(const table::CellRangeAddress& rCellRangeAddress, const sal_Int32 nStringIndex, const bool bIsAutoStyle, const sal_Int32 nValidationIndex, const sal_Int32 nNumberFormat) { ScMyFormatRange aFormatRange; - aFormatRange.aRangeAddress = aCellRangeAddress; + aFormatRange.aRangeAddress = rCellRangeAddress; aFormatRange.nStyleNameIndex = nStringIndex; aFormatRange.nValidationIndex = nValidationIndex; aFormatRange.nNumberFormat = nNumberFormat; aFormatRange.bIsAutoStyle = bIsAutoStyle; - OSL_ENSURE(static_cast<size_t>(aCellRangeAddress.Sheet) < aTables.size(), "wrong table"); - ScMyFormatRangeAddresses* pFormatRanges(aTables[aCellRangeAddress.Sheet]); + OSL_ENSURE(static_cast<size_t>(rCellRangeAddress.Sheet) < aTables.size(), "wrong table"); + ScMyFormatRangeAddresses* pFormatRanges(aTables[rCellRangeAddress.Sheet]); pFormatRanges->push_back(aFormatRange); } diff --git a/sc/source/filter/xml/XMLStylesExportHelper.hxx b/sc/source/filter/xml/XMLStylesExportHelper.hxx index 38dc7938cee1..20b9c9a7d3dc 100644 --- a/sc/source/filter/xml/XMLStylesExportHelper.hxx +++ b/sc/source/filter/xml/XMLStylesExportHelper.hxx @@ -204,7 +204,7 @@ public: bool& bIsAutoStyle, sal_Int32& nValidationIndex, sal_Int32& nNumberFormat, const sal_Int32 nRemoveBeforeRow); void GetFormatRanges(const sal_Int32 nStartColumn, const sal_Int32 nEndColumn, const sal_Int32 nRow, const sal_Int32 nTable, ScRowFormatRanges* pFormatRanges); - void AddRangeStyleName(const com::sun::star::table::CellRangeAddress aCellRangeAddress, const sal_Int32 nStringIndex, + void AddRangeStyleName(const com::sun::star::table::CellRangeAddress& rCellRangeAddress, const sal_Int32 nStringIndex, const bool bIsAutoStyle, const sal_Int32 nValidationIndex, const sal_Int32 nNumberFormat); OUString* GetStyleNameByIndex(const sal_Int32 nIndex, const bool bIsAutoStyle); void Sort(); diff --git a/sc/source/filter/xml/xmldrani.hxx b/sc/source/filter/xml/xmldrani.hxx index 5555dfdd3d2e..d66c9be840eb 100644 --- a/sc/source/filter/xml/xmldrani.hxx +++ b/sc/source/filter/xml/xmldrani.hxx @@ -317,9 +317,9 @@ public: virtual void EndElement() SAL_OVERRIDE; - void AddSubTotalColumn(const com::sun::star::sheet::SubTotalColumn aSubTotalColumn) + void AddSubTotalColumn(const com::sun::star::sheet::SubTotalColumn& rSubTotalColumn) { aSubTotalRule.aSubTotalColumns.realloc(aSubTotalRule.aSubTotalColumns.getLength() + 1); - aSubTotalRule.aSubTotalColumns[aSubTotalRule.aSubTotalColumns.getLength() - 1] = aSubTotalColumn; } + aSubTotalRule.aSubTotalColumns[aSubTotalRule.aSubTotalColumns.getLength() - 1] = rSubTotalColumn; } }; class ScXMLSubTotalFieldContext : public SvXMLImportContext diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx index 32955415d7f0..b488821faee0 100644 --- a/sc/source/filter/xml/xmlexprt.cxx +++ b/sc/source/filter/xml/xmlexprt.cxx @@ -465,10 +465,10 @@ sal_Int16 ScXMLExport::GetMeasureUnit() // #110680# ScXMLExport::ScXMLExport( - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rContext, OUString const & implementationName, SvXMLExportFlags nExportFlag) : SvXMLExport( GetMeasureUnit(), - xContext, implementationName, XML_SPREADSHEET, nExportFlag ), + rContext, implementationName, XML_SPREADSHEET, nExportFlag ), pDoc(NULL), nSourceStreamPos(0), pNumberFormatAttributesExportHelper(NULL), diff --git a/sc/source/filter/xml/xmlexprt.hxx b/sc/source/filter/xml/xmlexprt.hxx index 1bb0d8b533a9..2a5a6ea2dc52 100644 --- a/sc/source/filter/xml/xmlexprt.hxx +++ b/sc/source/filter/xml/xmlexprt.hxx @@ -236,7 +236,7 @@ protected: virtual XMLFontAutoStylePool* CreateFontAutoStylePool() SAL_OVERRIDE; public: ScXMLExport( - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rContext, OUString const & implementationName, SvXMLExportFlags nExportFlag); virtual ~ScXMLExport(); diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx index 6648144ad157..2e589023258e 100644 --- a/sc/source/filter/xml/xmlimprt.cxx +++ b/sc/source/filter/xml/xmlimprt.cxx @@ -1978,9 +1978,9 @@ SvXMLImportContext *ScXMLImport::CreateContext( sal_uInt16 nPrefix, } ScXMLImport::ScXMLImport( - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rContext, OUString const & implementationName, SvXMLImportFlags nImportFlag) -: SvXMLImport( xContext, implementationName, nImportFlag ), +: SvXMLImport( rContext, implementationName, nImportFlag ), pDoc( NULL ), pChangeTrackingImportHelper(NULL), pStylesImportHelper(NULL), diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx index 9576176f95ea..5ceeb72b5d2b 100644 --- a/sc/source/filter/xml/xmlimprt.hxx +++ b/sc/source/filter/xml/xmlimprt.hxx @@ -981,7 +981,7 @@ protected: public: // #110680# ScXMLImport( - const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > xContext, + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rContext, OUString const & implementationName, SvXMLImportFlags nImportFlag); virtual ~ScXMLImport() throw(); |