summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:21:41 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:21:41 +0200
commit1b12b332a9ff0c44b19f7f4f0c76b3f8ee534fc7 (patch)
treef951731fcd4f0c17dd7a55b154be238cb2b71bae /qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java
parent42e0579442c805df41454461d17cdede43c47b6a (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
Notes: split repo tag: testing_libreoffice-3.3.3.1 split repo tag: testing_libreoffice-3.3.4.1
Diffstat (limited to 'qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java')
-rw-r--r--qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java
index 6c4abe99f413..a622af71236d 100644
--- a/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.java
+++ b/qadevOOo/tests/java/ifc/sheet/_SpreadsheetDocumentSettings.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
@@ -64,7 +64,7 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
protected PropertyTester DateTester = new PropertyTester() {
protected Object getNewValue(String propName, Object oldValue) {
Date date = (Date) oldValue;
- Date newDate = new Date((short) (date.Day - 1), date.Month,
+ Date newDate = new Date((short) (date.Day - 1), date.Month,
date.Year);
return newDate;
@@ -82,10 +82,10 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
protected boolean compare(Object obj1, Object obj2) {
Locale loc = new Locale("ru", "RU", "");
XForbiddenCharacters fc1 = (XForbiddenCharacters) UnoRuntime.queryInterface(
- XForbiddenCharacters.class,
+ XForbiddenCharacters.class,
obj1);
XForbiddenCharacters fc2 = (XForbiddenCharacters) UnoRuntime.queryInterface(
- XForbiddenCharacters.class,
+ XForbiddenCharacters.class,
obj2);
boolean has1 = fc1.hasForbiddenCharacters(loc);
boolean has2 = fc2.hasForbiddenCharacters(loc);
@@ -121,8 +121,8 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
public ForbiddenCharacters getForbiddenCharacters(Locale rLocale)
throws com.sun.star.container.NoSuchElementException {
- if (rLocale.Country.equals(locale.Country) &&
- rLocale.Language.equals(locale.Language) &&
+ if (rLocale.Country.equals(locale.Country) &&
+ rLocale.Language.equals(locale.Language) &&
rLocale.Variant.equals(locale.Variant)) {
return chrs;
}
@@ -130,7 +130,7 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
throw new com.sun.star.container.NoSuchElementException();
}
- public void setForbiddenCharacters(Locale rLocale,
+ public void setForbiddenCharacters(Locale rLocale,
ForbiddenCharacters rForbiddenCharacters) {
}
@@ -138,8 +138,8 @@ public class _SpreadsheetDocumentSettings extends MultiPropertyTest {
}
public boolean hasForbiddenCharacters(Locale rLocale) {
- if (rLocale.Country.equals(locale.Country) &&
- rLocale.Language.equals(locale.Language) &&
+ if (rLocale.Country.equals(locale.Country) &&
+ rLocale.Language.equals(locale.Language) &&
rLocale.Variant.equals(locale.Variant)) {
return true;
}