summaryrefslogtreecommitdiff
path: root/sc/inc/formulalogger.hxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2017-05-08 19:21:08 -0400
committerKohei Yoshida <libreoffice@kohei.us>2017-05-09 02:04:45 +0200
commit9d320ec4d818f86e58a15fd46248026502b1cc94 (patch)
tree538a6e64090ac2bc44c5a27c04096c265ca53bdb /sc/inc/formulalogger.hxx
parent835b1efd2d6564333b869d637060b3c6bbd17a17 (diff)
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 <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'sc/inc/formulalogger.hxx')
-rw-r--r--sc/inc/formulalogger.hxx7
1 files changed, 7 insertions, 0 deletions
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 */ }
};