Kaydet (Commit) 3f56e655 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:deletedspecial

Change-Id: Id13844313c63552bec4f9ae7333a14948b386f03
üst 73e117d1
......@@ -36,8 +36,7 @@ namespace formula
friend class OModuleClient;
private:
OModule();
// not implemented. OModule is a static class
OModule() SAL_DELETED_FUNCTION; //TODO: get rid of this class
protected:
static sal_Int32 s_nClients; /// number of registered clients
......
......@@ -83,9 +83,8 @@ public:
bool mbCore : 1; /// If mapping was setup by core, not filters
bool mbEnglish : 1; /// If English symbols and external names
OpCodeMap(); // prevent usage
OpCodeMap( const OpCodeMap& ); // prevent usage
OpCodeMap& operator=( const OpCodeMap& ); // prevent usage
OpCodeMap( const OpCodeMap& ) SAL_DELETED_FUNCTION;
OpCodeMap& operator=( const OpCodeMap& ) SAL_DELETED_FUNCTION;
public:
......@@ -362,9 +361,8 @@ private:
{
FormulaTokenRef pPrevFac;
FormulaCompiler* pCompiler;
// not implemented
CurrentFactor( const CurrentFactor& );
CurrentFactor& operator=( const CurrentFactor& );
CurrentFactor( const CurrentFactor& ) SAL_DELETED_FUNCTION;
CurrentFactor& operator=( const CurrentFactor& ) SAL_DELETED_FUNCTION;
public:
explicit CurrentFactor( FormulaCompiler* pComp )
: pPrevFac( pComp->pCurrentFactorToken )
......
......@@ -94,9 +94,7 @@ class FormulaTokenArray;
class FORMULA_DLLPUBLIC FormulaToken : public IFormulaToken
{
OpCode eOp;
// not implemented, prevent usage
FormulaToken();
FormulaToken& operator=( const FormulaToken& );
FormulaToken& operator=( const FormulaToken& ) SAL_DELETED_FUNCTION;
protected:
const StackVar eType; // type of data
......
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