sc/inc/dociter.hxx | 2 +- sc/source/core/data/dociter.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 9749a706fdea2ee0519870ef5d58a78f4fbf33bd Author: Kohei Yoshida <kohei.yosh...@gmail.com> Date: Tue Mar 26 16:44:45 2013 -0400 This can return const reference. Change-Id: I1cf3e58167b883fee1b8cb32783a7892f6e0faa5 diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index 4f3ab26..acb31e2 100644 --- a/sc/inc/dociter.hxx +++ b/sc/inc/dociter.hxx @@ -239,7 +239,7 @@ public: const ScFormulaCell* getFormulaCell() const; double getValue() const; ScCellValue getCellValue() const; - ScRefCellValue getRefCellValue() const; + const ScRefCellValue& getRefCellValue() const; bool hasString() const; bool hasNumeric() const; diff --git a/sc/source/core/data/dociter.cxx b/sc/source/core/data/dociter.cxx index adb7787..87b832d 100644 --- a/sc/source/core/data/dociter.cxx +++ b/sc/source/core/data/dociter.cxx @@ -1131,7 +1131,7 @@ ScCellValue ScCellIterator::getCellValue() const return aRet; } -ScRefCellValue ScCellIterator::getRefCellValue() const +const ScRefCellValue& ScCellIterator::getRefCellValue() const { return maCurCell; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits