From 3594cfd585d221e5d3cea553a8b5fed32e97ca50 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 26 Mar 2013 16:44:45 -0400 Subject: This can return const reference. Change-Id: I1cf3e58167b883fee1b8cb32783a7892f6e0faa5 --- sc/inc/dociter.hxx | 2 +- sc/source/core/data/dociter.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sc/inc/dociter.hxx b/sc/inc/dociter.hxx index 4f3ab2621d7c..acb31e2373ff 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 adb7787672d1..87b832da30a1 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; } -- cgit on value='distro/cib/libreoffice-5-0'>distro/cib/libreoffice-5-0 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/UnoControls
AgeCommit message (Expand)Author
2017-04-03tdf#39468 Translate German commentsJens Carl
2017-03-25Fix typosAndrea Gelmini
2017-02-06Add missing #includesStephan Bergmann
2017-01-26Remove dynamic exception specificationsStephan Bergmann
2017-01-25Fix typo in comments: relativ -> relativeTakeshi Abe
2017-01-19New loplugin:dynexcspec: Add @throws documentation, UnoControlsStephan Bergmann
2017-01-17use rtl::Reference in BaseControlNoel Grandin
2016-12-09Catch some misuses of VclPtr constructionStephan Bergmann
2016-10-25loplugin:expandablemethods in UnoControls..vbahelperNoel Grandin
2016-10-19loplugin:expandablemethods in UnoControls..vbahelperNoel Grandin
2016-10-03Fix typosAndrea Gelmini
2016-09-13loplugin:override: No more need for the "MSVC dtor override" workaroundStephan Bergmann
2016-07-27improve passstuffbyref return analysisNoel Grandin
2016-07-15tdf#100726: Improve readability of OUString concatenation a bitnadith
2016-05-31teach refcounting clang plugin about uno::ReferenceNoel Grandin
2016-04-22Fix typosAndrea Gelmini
2016-04-21clang-tidy modernize-loop-convert in a*Noel Grandin
2016-04-14loplugin:passstuffbyref in variousNoel Grandin
2016-03-18tools: split out color macros into own headerChris Sherlock
2016-02-23new loplugin: commaoperatorNoel Grandin
2016-01-13loplugin:unusedmethods unused return value in UnoControlNoel Grandin
2015-12-21loplugin:unusedfields UnoControls,ucbNoel Grandin
2015-11-16no need to take a mutex when only dealing with stack-local dataNoel Grandin
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
2015-11-11com::sun::star->css in UnoControls/Noel Grandin
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
2015-10-30use uno::Reference::set method instead of assignmentNoel Grandin
2015-10-19cleanup some local var declarationsNoel Grandin
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
2015-09-30Fix typosAndrea Gelmini
2015-08-03new loplugin: refcountingNoel Grandin
2015-07-13Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug buildsStephan Bergmann
2015-07-04Fix typosAndrea Gelmini
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
2015-05-28new clang plugin: loopvartoosmallNoel Grandin
2015-05-05remove unused #include awt/InvalidateStyle.hppMichael Stahl
2015-04-16UnoControls, toolkit, uuoi, xmlsecurity: convert new to ::Create.Michael Meeks
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
2015-03-27loplugin:staticfunctionNoel Grandin
2015-03-17Fix various XServiceInfo implementationsStephan Bergmann
2015-03-11V668 no sense in testing the result of new against nullCaolán McNamara
2015-03-08TyposJulien Nabet
2015-02-28TyposJulien Nabet
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin
2015-02-09Fix of a few typosAndrea Gelmini
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin