From f19e32b101d56ceb7215a6a9d45d39a2cd264189 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 14 Jan 2016 16:31:56 +0200 Subject: loplugin:unusedmethods unused return value in rsc Change-Id: I6301aed80083c21e26851817220de6e135eb4da7 --- rsc/inc/rscrange.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'rsc/inc/rscrange.hxx') 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; -- cgit