diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2006-03-15 08:23:35 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2006-03-15 08:23:35 +0000 |
commit | 62c45cfd13e8ebdce7151bc10293648206ed5d80 (patch) | |
tree | c9574fea2ee02cd16531579c9ba0ebf8eac461e9 /forms/source/component | |
parent | eff90dfc894d32efacbb7e7b22a81387a47391be (diff) |
INTEGRATION: CWS jsc3 (1.11.64); FILE MERGED
2006/02/22 15:23:33 fs 1.11.64.1: #i62418# correct translateControlValueToValidatableValue
Diffstat (limited to 'forms/source/component')
-rw-r--r-- | forms/source/component/Date.hxx | 14 | ||||
-rw-r--r-- | forms/source/component/Time.hxx | 14 |
2 files changed, 24 insertions, 4 deletions
diff --git a/forms/source/component/Date.hxx b/forms/source/component/Date.hxx index 457629ce0271..1dcb1645bacb 100644 --- a/forms/source/component/Date.hxx +++ b/forms/source/component/Date.hxx @@ -4,9 +4,9 @@ * * $RCSfile: Date.hxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: rt $ $Date: 2005-09-08 22:37:06 $ + * last change: $Author: vg $ $Date: 2006-03-15 09:22:56 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -102,6 +102,9 @@ protected: translateExternalValueToControlValue( ) const; virtual ::com::sun::star::uno::Any + translateControlValueToValidatableValue( ) const; + + virtual ::com::sun::star::uno::Any getDefaultForReset() const; virtual void onConnectedDbColumn( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxForm ); @@ -110,6 +113,13 @@ protected: protected: DECLARE_XCLONEABLE(); + +private: + /** translates the control value (the VCL-internal integer representation of a date) into + a UNO-Date. + */ + void impl_translateControlValueToUNODate( + ::com::sun::star::uno::Any& _rUNOValue ) const; }; //================================================================== diff --git a/forms/source/component/Time.hxx b/forms/source/component/Time.hxx index 748a774df048..7208846f22f5 100644 --- a/forms/source/component/Time.hxx +++ b/forms/source/component/Time.hxx @@ -4,9 +4,9 @@ * * $RCSfile: Time.hxx,v $ * - * $Revision: 1.11 $ + * $Revision: 1.12 $ * - * last change: $Author: rt $ $Date: 2005-09-08 22:47:15 $ + * last change: $Author: vg $ $Date: 2006-03-15 09:23:35 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -103,6 +103,9 @@ protected: translateExternalValueToControlValue( ) const; virtual ::com::sun::star::uno::Any + translateControlValueToValidatableValue( ) const; + + virtual ::com::sun::star::uno::Any getDefaultForReset() const; virtual void onConnectedDbColumn( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _rxForm ); @@ -111,6 +114,13 @@ protected: protected: DECLARE_XCLONEABLE(); + +private: + /** translates the control value (the VCL-internal integer representation of a date) into + a UNO-Date. + */ + void impl_translateControlValueToUNOTime( + ::com::sun::star::uno::Any& _rUNOValue ) const; }; //================================================================== |