diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-10 09:26:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-11 07:53:04 +0200 |
commit | 583c1400c22ce8aab2623216b59c25a83a073bad (patch) | |
tree | 149f9eadb24b1e41e949d42fce9ad21414c5d7cf | |
parent | ab6849db5540b1836f91708acc4ae8a9f49a6d7c (diff) |
loplugin:virtualdown in SbxValue
Change-Id: I746b6b7e18265366903825ccf6c94f672dc92db9
Reviewed-on: https://gerrit.libreoffice.org/73770
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r-- | basic/source/sbx/sbxvalue.cxx | 5 | ||||
-rw-r--r-- | include/basic/sbxvar.hxx | 3 |
2 files changed, 1 insertions, 7 deletions
diff --git a/basic/source/sbx/sbxvalue.cxx b/basic/source/sbx/sbxvalue.cxx index 8b0f16491633..1a011b6706d1 100644 --- a/basic/source/sbx/sbxvalue.cxx +++ b/basic/source/sbx/sbxvalue.cxx @@ -690,11 +690,6 @@ bool SbxValue::ImpIsNumeric( bool bOnlyIntntl ) const || ( t >= SbxCHAR && t <= SbxUINT ); } -SbxClassType SbxValue::GetClass() const -{ - return SbxClassType::Value; -} - SbxDataType SbxValue::GetType() const { return SbxDataType( aData.eType & 0x0FFF ); diff --git a/include/basic/sbxvar.hxx b/include/basic/sbxvar.hxx index b0add15b4f47..446f1fe4c1ec 100644 --- a/include/basic/sbxvar.hxx +++ b/include/basic/sbxvar.hxx @@ -124,7 +124,6 @@ public: bool IsNumericRTL() const; // #41692 Interface for Basic bool ImpIsNumeric( bool bOnlyIntntl ) const; // Implementation - virtual SbxClassType GetClass() const; virtual SbxDataType GetType() const override; SbxDataType GetFullType() const { return aData.eType;} bool SetType( SbxDataType ); @@ -272,7 +271,7 @@ public: void SetUserData( sal_uInt32 n ) { nUserData = n; } virtual SbxDataType GetType() const override; - virtual SbxClassType GetClass() const override; + virtual SbxClassType GetClass() const; // Parameter-Interface virtual SbxInfo* GetInfo(); |