diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2016-10-25 07:24:40 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2016-10-25 21:44:15 -0400 |
commit | 9c34797cc98030614b384b6ea0f233d59ae82253 (patch) | |
tree | 6ac8791ac27467f9f8b5abc9fe390689ce2d877b /sc/inc | |
parent | dff4e51f5db23baab368ab7e656ad1b74f2663bd (diff) |
Keep loplugin:staticmethods happy.
Change-Id: I45b576a4401d51d204007a8dde3b24617b5a17e9
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/formulalogger.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sc/inc/formulalogger.hxx b/sc/inc/formulalogger.hxx index 1348c63d9218..10a0155483e7 100644 --- a/sc/inc/formulalogger.hxx +++ b/sc/inc/formulalogger.hxx @@ -95,6 +95,7 @@ public: */ class FormulaLogger { + bool mbState = false; // Just to avoid loplugin:staticmethods public: static FormulaLogger get() @@ -104,13 +105,15 @@ public: class GroupScope { + bool mbState = false; // Just to avoid loplugin:staticmethods public: - void addMessage( const OUString& /*rMsg*/ ) {} - void setCalcComplete() {} + void addMessage( const OUString& /*rMsg*/ ) { mbState = !mbState; } + void setCalcComplete() { mbState = !mbState; } }; GroupScope enterGroup( const ScDocument& /*rDoc*/, const ScFormulaCell& /*rCell*/ ) { + mbState = !mbState; return GroupScope(); } }; |