diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-20 21:02:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-07-21 08:31:20 +0200 |
commit | 363a25338e96f44ec01a7972bf46de884975ca06 (patch) | |
tree | b69d6f8e6ed72d546abe0de9efd729951f5d9233 /include/vcl/toolkit | |
parent | 751f4d4428339b508abb5ee3c1804e63f0cfd593 (diff) |
loplugin:unusedmethods
Change-Id: I3520c2e97bb5b1611dcce77ca9f8393b29e75a1f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99110
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl/toolkit')
-rw-r--r-- | include/vcl/toolkit/longcurr.hxx | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/include/vcl/toolkit/longcurr.hxx b/include/vcl/toolkit/longcurr.hxx index d00c0aa0364b..a2f0d4781d72 100644 --- a/include/vcl/toolkit/longcurr.hxx +++ b/include/vcl/toolkit/longcurr.hxx @@ -38,17 +38,10 @@ public: virtual void Reformat() override; virtual void ReformatAll() override; - void SetUseThousandSep( bool b ); bool IsUseThousandSep() const { return mbThousandSep; } - void SetCurrencySymbol( const OUString& rStr ); OUString const & GetCurrencySymbol() const; - void SetMin(const BigInt& rNewMin); - const BigInt& GetMin() const { return mnMin; } - void SetMax(const BigInt& rNewMax); - const BigInt& GetMax() const { return mnMax; } - void SetDecimalDigits( sal_uInt16 nDigits ); sal_uInt16 GetDecimalDigits() const { return mnDecimalDigits;} void SetValue(const BigInt& rNewValue); @@ -71,32 +64,4 @@ private: }; -class UNLESS_MERGELIBS(VCL_DLLPUBLIC) LongCurrencyField final : public SpinField, public LongCurrencyFormatter -{ - friend void ImplNewLongCurrencyFieldValue(LongCurrencyField*, const BigInt&); - -private: - BigInt mnSpinSize; - BigInt mnFirst; - BigInt mnLast; - -public: - LongCurrencyField( vcl::Window* pParent, WinBits nWinStyle ); - - virtual bool EventNotify( NotifyEvent& rNEvt ) override; - - void Modify() override; - void Up() override; - void Down() override; - void First() override; - void Last() override; - - void SetFirst(const BigInt& rNewFirst ) { mnFirst = rNewFirst; } - const BigInt& GetFirst() const { return mnFirst; } - void SetLast(const BigInt& rNewLast ) { mnLast = rNewLast; } - const BigInt& GetLast() const { return mnLast; } - void SetSpinSize(const BigInt& rNewSize) { mnSpinSize = rNewSize; } - const BigInt& GetSpinSize() const { return mnSpinSize; } -}; - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |