diff options
author | Noel Grandin <noel@peralex.com> | 2016-01-14 16:31:56 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-01-15 09:36:41 +0200 |
commit | f19e32b101d56ceb7215a6a9d45d39a2cd264189 (patch) | |
tree | 660e03934bc5a036c7538945ab60b2267e7a58c6 /rsc/inc/rscrange.hxx | |
parent | 802765dbe5f79748453c985da08824fb9ddefe11 (diff) |
loplugin:unusedmethods unused return value in rsc
Change-Id: I6301aed80083c21e26851817220de6e135eb4da7
Diffstat (limited to 'rsc/inc/rscrange.hxx')
-rw-r--r-- | rsc/inc/rscrange.hxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/rsc/inc/rscrange.hxx b/rsc/inc/rscrange.hxx index 360edaa63b87..3bcd663df88c 100644 --- a/rsc/inc/rscrange.hxx +++ b/rsc/inc/rscrange.hxx @@ -40,7 +40,7 @@ public: virtual RSCCLASS_TYPE GetClassType() const override; RSCINST Create( RSCINST * pInst, const RSCINST & rDfltInst, bool ) override; // sets the allowed range - ERRTYPE SetRange( sal_Int32 nMinimum, sal_Int32 nMaximum ); + void SetRange( sal_Int32 nMinimum, sal_Int32 nMaximum ); // returns the class size in bytes sal_uInt32 Size() override { return nSize; } // an assignment to a variable @@ -78,7 +78,7 @@ public: virtual RSCCLASS_TYPE GetClassType() const override; RSCINST Create( RSCINST * pInst, const RSCINST & rDfltInst, bool ) override; // sets the allowed range - ERRTYPE SetRange( sal_Int32 nMinimum, sal_Int32 nMaximum ); + void SetRange( sal_Int32 nMinimum, sal_Int32 nMaximum ); // returns the class size in bytes sal_uInt32 Size() override { return nSize; } // an assignment to a variable @@ -120,11 +120,10 @@ public: RscIdRange( Atom nId, sal_uInt32 nTypId ); virtual RSCCLASS_TYPE GetClassType() const override; // sets the allowed range - ERRTYPE SetRange( sal_Int32 nMinimum, sal_Int32 nMaximum ) + void SetRange( sal_Int32 nMinimum, sal_Int32 nMaximum ) { nMin = nMinimum; nMax = nMaximum; - return ERR_OK; } RSCINST Create( RSCINST * pInst, const RSCINST & rDfltInst, bool ) override; void Destroy( const RSCINST & rInst ) override; |