From 9d320ec4d818f86e58a15fd46248026502b1cc94 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Mon, 8 May 2017 19:21:08 -0400 Subject: Avoid adding unnecessary overhead to formula calculation. Instead, hide the overhead within the logger code which is disabled in the release build. Change-Id: Ie80c2a1725476d96d3e5551cf0303ecb5d73b47e Reviewed-on: https://gerrit.libreoffice.org/37409 Reviewed-by: Kohei Yoshida Tested-by: Kohei Yoshida --- sc/inc/formulalogger.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sc/inc/formulalogger.hxx') diff --git a/sc/inc/formulalogger.hxx b/sc/inc/formulalogger.hxx index 2675f7fc4b4c..39bad7d13bd7 100644 --- a/sc/inc/formulalogger.hxx +++ b/sc/inc/formulalogger.hxx @@ -110,6 +110,8 @@ public: const ScAddress& rCellPos, const ScAddress& rRefPos, const formula::FormulaToken& rToken ); + void addGroupSizeThreasholdMessage( const ScFormulaCell& rCell ); + /** * Call this when the group calculation has finished successfully. */ @@ -165,6 +167,11 @@ public: (void) this; /* loplugin:staticmethods */ } + void addGroupSizeThreasholdMessage( const ScFormulaCell& /*rCell*/ ) + { + (void) this; /* loplugin:staticmethods */ + } + void setCalcComplete() { (void) this; /* loplugin:staticmethods */ } }; -- cgit