diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-13 09:55:03 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-07-13 09:56:16 +0000 |
commit | a6fed7a19befa5673403ec5fe3ab69a91475da3a (patch) | |
tree | c692d0ca693a2acfb7da3d1a2e915c79d5e0ebcd /include/vcl/field.hxx | |
parent | 5a247505a36ccdb911e48f0d859572f56ec4b171 (diff) |
loplugin:unusedmethods vcl
Change-Id: I53c66b7898f4e0a66e6172d22c6f782dadaf6589
Reviewed-on: https://gerrit.libreoffice.org/16975
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/vcl/field.hxx')
-rw-r--r-- | include/vcl/field.hxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx index dc461b781771..fdb09f110af8 100644 --- a/include/vcl/field.hxx +++ b/include/vcl/field.hxx @@ -83,7 +83,6 @@ public: const AllSettings& GetFieldSettings() const; - void SetErrorHdl( const Link<>& rLink ) { maErrorLink = rLink; } const Link<>& GetErrorHdl() const { return maErrorLink; } void SetEmptyFieldValue(); @@ -127,12 +126,10 @@ public: const OString& GetEditMask() const { return m_aEditMask; } const OUString& GetLiteralMask() const { return maLiteralMask; } - void SetFormatFlags( sal_uInt16 nFlags ) { mnFormatFlags = nFlags; } sal_uInt16 GetFormatFlags() const { return mnFormatFlags; } void SetString( const OUString& rStr ); OUString GetString() const; - bool IsStringModified() const { return !(GetString() == maFieldString ); } }; @@ -209,7 +206,6 @@ public: virtual sal_Int64 GetValue() const; virtual OUString CreateFieldText( sal_Int64 nValue ) const; bool IsValueModified() const; - sal_Int64 GetCorrectedValue() const { return mnCorrectedValue; } sal_Int64 Normalize( sal_Int64 nValue ) const; sal_Int64 Denormalize( sal_Int64 nValue ) const; @@ -267,11 +263,9 @@ public: virtual sal_Int64 GetValue( FieldUnit eOutUnit ) const; virtual sal_Int64 GetValue() const SAL_OVERRIDE; virtual OUString CreateFieldText( sal_Int64 nValue ) const SAL_OVERRIDE; - using NumericFormatter::GetCorrectedValue; sal_Int64 GetCorrectedValue( FieldUnit eOutUnit ) const; void SetCustomConvertHdl( const Link<>& rLink ) { maCustomConvertLink = rLink; } - const Link<>& GetCustomConvertHdl() const { return maCustomConvertLink; } }; @@ -371,7 +365,6 @@ public: Date GetDate() const; void SetEmptyDate(); bool IsEmptyDate() const; - Date GetCorrectedDate() const { return maCorrectedDate; } void ResetLastDate() { maLastDate = Date( 0, 0, 0 ); } @@ -456,7 +449,6 @@ public: tools::Time GetTime() const; void SetEmptyTime() { FormatterBase::SetEmptyFieldValue(); } bool IsEmptyTime() const { return FormatterBase::IsEmptyFieldValue(); } - tools::Time GetCorrectedTime() const { return maCorrectedTime; } static tools::Time GetInvalidTime() { return tools::Time( 99, 99, 99 ); } |