diff options
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; |