Kaydet (Commit) 9c34797c authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Keep loplugin:staticmethods happy.

Change-Id: I45b576a4401d51d204007a8dde3b24617b5a17e9
üst dff4e51f
...@@ -95,6 +95,7 @@ public: ...@@ -95,6 +95,7 @@ public:
*/ */
class FormulaLogger class FormulaLogger
{ {
bool mbState = false; // Just to avoid loplugin:staticmethods
public: public:
static FormulaLogger get() static FormulaLogger get()
...@@ -104,13 +105,15 @@ public: ...@@ -104,13 +105,15 @@ public:
class GroupScope class GroupScope
{ {
bool mbState = false; // Just to avoid loplugin:staticmethods
public: public:
void addMessage( const OUString& /*rMsg*/ ) {} void addMessage( const OUString& /*rMsg*/ ) { mbState = !mbState; }
void setCalcComplete() {} void setCalcComplete() { mbState = !mbState; }
}; };
GroupScope enterGroup( const ScDocument& /*rDoc*/, const ScFormulaCell& /*rCell*/ ) GroupScope enterGroup( const ScDocument& /*rDoc*/, const ScFormulaCell& /*rCell*/ )
{ {
mbState = !mbState;
return GroupScope(); return GroupScope();
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment