diff options
Diffstat (limited to 'include/vcl/longcurr.hxx')
-rw-r--r-- | include/vcl/longcurr.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/longcurr.hxx b/include/vcl/longcurr.hxx index 8b40478d904b..48eca605c0f4 100644 --- a/include/vcl/longcurr.hxx +++ b/include/vcl/longcurr.hxx @@ -58,12 +58,12 @@ public: OUString GetCurrencySymbol() const; void SetMin(const BigInt& rNewMin); - BigInt GetMin() const { return mnMin; } + const BigInt& GetMin() const { return mnMin; } void SetMax(const BigInt& rNewMax); - BigInt GetMax() const { return mnMax; } + const BigInt& GetMax() const { return mnMax; } void SetDecimalDigits( sal_uInt16 nDigits ); - sal_uInt16 GetDecimalDigits() const { return mnDecimalDigits;} + sal_uInt16 GetDecimalDigits() const { return mnDecimalDigits;} void SetValue(const BigInt& rNewValue); void SetUserValue( BigInt nNewValue ); BigInt GetValue() const; @@ -92,11 +92,11 @@ public: void Last() override; void SetFirst(const BigInt& rNewFirst ) { mnFirst = rNewFirst; } - BigInt GetFirst() const { return mnFirst; } + const BigInt& GetFirst() const { return mnFirst; } void SetLast(const BigInt& rNewLast ) { mnLast = rNewLast; } - BigInt GetLast() const { return mnLast; } + const BigInt& GetLast() const { return mnLast; } void SetSpinSize(const BigInt& rNewSize) { mnSpinSize = rNewSize; } - BigInt GetSpinSize() const { return mnSpinSize; } + const BigInt& GetSpinSize() const { return mnSpinSize; } }; |