From 62c45cfd13e8ebdce7151bc10293648206ed5d80 Mon Sep 17 00:00:00 2001 From: Vladimir Glazounov Date: Wed, 15 Mar 2006 08:23:35 +0000 Subject: INTEGRATION: CWS jsc3 (1.11.64); FILE MERGED 2006/02/22 15:23:33 fs 1.11.64.1: #i62418# correct translateControlValueToValidatableValue --- forms/source/component/Date.hxx | 14 ++++++++++++-- forms/source/component/Time.hxx | 14 ++++++++++++-- 2 files changed, 24 insertions(+), 4 deletions(-) (limited to 'forms/source') 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. @@ -101,6 +101,9 @@ protected: virtual ::com::sun::star::uno::Any translateExternalValueToControlValue( ) const; + virtual ::com::sun::star::uno::Any + translateControlValueToValidatableValue( ) const; + virtual ::com::sun::star::uno::Any getDefaultForReset() const; @@ -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. @@ -102,6 +102,9 @@ protected: virtual ::com::sun::star::uno::Any translateExternalValueToControlValue( ) const; + virtual ::com::sun::star::uno::Any + translateControlValueToValidatableValue( ) const; + virtual ::com::sun::star::uno::Any getDefaultForReset() const; @@ -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; }; //================================================================== -- cgit