diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-02-14 00:35:42 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-02-14 11:11:33 -0500 |
commit | 9644141997c1cb5f0953a28a0125351165098d99 (patch) | |
tree | 7975d886a5b7d9c4ee03f09f2aeda8b4262083f8 | |
parent | 71ed03b9ad45e7da8ac454377701d265ce11cca1 (diff) |
CalcRowData can be passed as a const reference.
Change-Id: I20b6efe27d179ee5ace7dd3ead87a563b25973a8
-rw-r--r-- | sc/inc/dptabdat.hxx | 2 | ||||
-rw-r--r-- | sc/source/core/data/dptabdat.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/inc/dptabdat.hxx b/sc/inc/dptabdat.hxx index e1924acc8e92..aba6060506d6 100644 --- a/sc/inc/dptabdat.hxx +++ b/sc/inc/dptabdat.hxx @@ -161,7 +161,7 @@ protected: }; void FillRowDataFromCacheTable(sal_Int32 nRow, const ScDPFilteredCache& rCacheTable, const CalcInfo& rInfo, CalcRowData& rData); - void ProcessRowData(CalcInfo& rInfo, CalcRowData& rData, bool bAutoShow); + void ProcessRowData(CalcInfo& rInfo, const CalcRowData& rData, bool bAutoShow); void CalcResultsFromCacheTable(const ScDPFilteredCache& rCacheTable, CalcInfo& rInfo, bool bAutoShow); private: diff --git a/sc/source/core/data/dptabdat.cxx b/sc/source/core/data/dptabdat.cxx index fbb32d426ff8..7f3608e35e39 100644 --- a/sc/source/core/data/dptabdat.cxx +++ b/sc/source/core/data/dptabdat.cxx @@ -176,7 +176,7 @@ void ScDPTableData::FillRowDataFromCacheTable(sal_Int32 nRow, const ScDPFiltered } } -void ScDPTableData::ProcessRowData(CalcInfo& rInfo, CalcRowData& rData, bool bAutoShow) +void ScDPTableData::ProcessRowData(CalcInfo& rInfo, const CalcRowData& rData, bool bAutoShow) { if (!bAutoShow) { |