summaryrefslogtreecommitdiff
path: root/forms/qa/integration
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-03-29 11:23:48 +0000
committerOliver Bolte <obo@openoffice.org>2006-03-29 11:23:48 +0000
commit9f671581595c180c8fb01f36e857822c55c924d6 (patch)
tree12cc0495f8fa62c385fee3200167d3b876036f5e /forms/qa/integration
parentb01fb08a46804401d8dfc5278bed73cd6f848d90 (diff)
INTEGRATION: CWS dba203a (1.3.54); FILE MERGED
2006/02/22 15:22:45 fs 1.3.54.1: use the AnyConverter
Diffstat (limited to 'forms/qa/integration')
-rw-r--r--forms/qa/integration/forms/ControlValidator.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/forms/qa/integration/forms/ControlValidator.java b/forms/qa/integration/forms/ControlValidator.java
index 5d78bcd9a479..222de6ee1618 100644
--- a/forms/qa/integration/forms/ControlValidator.java
+++ b/forms/qa/integration/forms/ControlValidator.java
@@ -4,9 +4,9 @@
*
* $RCSfile: ControlValidator.java,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 22:27:20 $
+ * last change: $Author: obo $ $Date: 2006-03-29 12:23:48 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -58,8 +58,8 @@ public abstract class ControlValidator implements com.sun.star.form.validation.X
{
try
{
- com.sun.star.uno.Any anyValue = (com.sun.star.uno.Any)Value;
- return ( anyValue.getType().getTypeClass() == com.sun.star.uno.TypeClass.VOID );
+ return ( com.sun.star.uno.AnyConverter.getType(Value).getTypeClass()
+ == com.sun.star.uno.TypeClass.VOID );
}
catch( java.lang.ClassCastException e )
{