diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2011-08-23 15:21:41 +0200 |
commit | 1b12b332a9ff0c44b19f7f4f0c76b3f8ee534fc7 (patch) | |
tree | f951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/runner/util/ValueChanger.java | |
parent | 42e0579442c805df41454461d17cdede43c47b6a (diff) |
recreated tag libreoffice-3.3.3.1 which had these commits:
commit aec86c5680a68c65de8537b8a83a16e8d90cfdd9 (tag: refs/tags/libreoffice-3.3.3.1)
Author: Petr Mladek <pmladek@suse.cz>
Date: Tue May 31 17:39:08 2011 +0200
Version 3.3.3.1, tag libreoffice-3.3.3.1 (3.3.3-rc1)
Notes
split repo tag: testing_libreoffice-3.3.3.1
split repo tag: testing_libreoffice-3.3.4.1
Diffstat (limited to 'qadevOOo/runner/util/ValueChanger.java')
-rw-r--r-- | qadevOOo/runner/util/ValueChanger.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/qadevOOo/runner/util/ValueChanger.java b/qadevOOo/runner/util/ValueChanger.java index 8388b4c2222f..ae00eadb2e62 100644 --- a/qadevOOo/runner/util/ValueChanger.java +++ b/qadevOOo/runner/util/ValueChanger.java @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -47,7 +47,7 @@ public class ValueChanger { public static Object changePValue( Object oldValue ) { Object newValue = null; - + if (oldValue instanceof com.sun.star.uno.Any) { try { oldValue = AnyConverter.toObject(((Any) oldValue).getType(),oldValue); @@ -714,7 +714,7 @@ public class ValueChanger { newVal.Name = ((PropertyValue)oldValue).Name; newVal.Value = changePValue(((PropertyValue)oldValue).Value); newValue = newVal; - } else + } else if (oldValue instanceof com.sun.star.sheet.ValidationAlertStyle){ com.sun.star.sheet.ValidationAlertStyle VAS1 = com.sun.star.sheet.ValidationAlertStyle.INFO; com.sun.star.sheet.ValidationAlertStyle VAS2 = com.sun.star.sheet.ValidationAlertStyle.MACRO; @@ -860,7 +860,7 @@ public class ValueChanger { } else { if ( oldPPC.Coordinates[0].length == 0 ) { newPPC.Coordinates = pArray; - newPPC.Flags = fArray; + newPPC.Flags = fArray; } else { newPPC.Coordinates[0][0].X = oldPPC.Coordinates[0][0].X +1; newPPC.Coordinates[0][0].Y = oldPPC.Coordinates[0][0].Y +1; |