summaryrefslogtreecommitdiff
path: root/sc/inc/token.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-18 16:35:31 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-24 08:27:56 +0000
commit3caf31b05d7bbf3d50a1bbda6c8b95982cb5c2b5 (patch)
treeb281c279936763f21a9f07047246dfdc72e8d4fe /sc/inc/token.hxx
parent2c8e66129f14c6d0b9174d27546e233b3995d8d4 (diff)
loplugin:unusedmethods in sc
Change-Id: Ic378126a30be853d10fe174c451cee3c6ded404f Reviewed-on: https://gerrit.libreoffice.org/25109 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sc/inc/token.hxx')
-rw-r--r--sc/inc/token.hxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/sc/inc/token.hxx b/sc/inc/token.hxx
index a15933a7dd92..1a3f9f0aca70 100644
--- a/sc/inc/token.hxx
+++ b/sc/inc/token.hxx
@@ -89,12 +89,6 @@ private:
public:
ScDoubleRefToken( const ScComplexRefData& r, OpCode e = ocPush ) :
FormulaToken( formula::svDoubleRef, e ), aDoubleRef( r ) {}
- ScDoubleRefToken( const ScSingleRefData& r, OpCode e = ocPush ) :
- FormulaToken( formula::svDoubleRef, e )
- {
- aDoubleRef.Ref1 = r;
- aDoubleRef.Ref2 = r;
- }
ScDoubleRefToken( const ScDoubleRefToken& r ) :
FormulaToken( r ), aDoubleRef( r.aDoubleRef ) {}
virtual const ScSingleRefData* GetSingleRef() const override;
@@ -462,12 +456,6 @@ public:
r.GetType() == formula::svExternalDoubleRef) ?
r.GetDoubleRef()->Ref2 : Ref1 )
{}
- SingleDoubleRefProvider( const ScSingleRefData& r )
- : Ref1( r ), Ref2( r )
- {}
- SingleDoubleRefProvider( const ScComplexRefData& r )
- : Ref1( r.Ref1 ), Ref2( r.Ref2 )
- {}
~SingleDoubleRefProvider()
{}
};