summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/qa/complex/imageManager/_XComponent.java6
-rw-r--r--framework/qa/complex/imageManager/_XInitialization.java6
-rw-r--r--framework/qa/complex/imageManager/_XUIConfiguration.java5
-rw-r--r--qadevOOo/runner/helper/ProcessHandler.java8
-rw-r--r--qadevOOo/runner/helper/StringHelper.java20
-rw-r--r--sc/qa/complex/dataPilot/_XDataPilotTable.java16
-rw-r--r--toolkit/test/accessibility/ov/ObjectView.java3
-rw-r--r--ucb/qa/complex/tdoc/_XComponent.java43
-rw-r--r--wizards/Jar_commonwizards.mk1
-rw-r--r--wizards/com/sun/star/wizards/ui/event/XWindowListenerAdapter.java41
10 files changed, 0 insertions, 149 deletions
diff --git a/framework/qa/complex/imageManager/_XComponent.java b/framework/qa/complex/imageManager/_XComponent.java
index c8c94d7c86e0..0d0a997b7384 100644
--- a/framework/qa/complex/imageManager/_XComponent.java
+++ b/framework/qa/complex/imageManager/_XComponent.java
@@ -162,12 +162,6 @@ public class _XComponent {
} // finished _dispose()
- /**
- * Forces object recreation.
- */
- protected void after() {
- }
-
} // finished class _XComponent
diff --git a/framework/qa/complex/imageManager/_XInitialization.java b/framework/qa/complex/imageManager/_XInitialization.java
index 5a5565786e73..74b97aa1cbc6 100644
--- a/framework/qa/complex/imageManager/_XInitialization.java
+++ b/framework/qa/complex/imageManager/_XInitialization.java
@@ -73,12 +73,6 @@ public class _XInitialization {
return result ;
} // finished _initialize()
- /**
- * Disposes object environment.
- */
- public void after() {
- }
-
} // finished class _XInitialization
diff --git a/framework/qa/complex/imageManager/_XUIConfiguration.java b/framework/qa/complex/imageManager/_XUIConfiguration.java
index 486989535c5e..f2e7be33d471 100644
--- a/framework/qa/complex/imageManager/_XUIConfiguration.java
+++ b/framework/qa/complex/imageManager/_XUIConfiguration.java
@@ -63,9 +63,4 @@ public class _XUIConfiguration {
return !xListener.actionWasTriggered();
}
- /**
- * Dispose because the UIConfigurationManager has to be recreated
- */
- public void after() {
- }
}
diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java
index 8a25ab29954e..313a160554e0 100644
--- a/qadevOOo/runner/helper/ProcessHandler.java
+++ b/qadevOOo/runner/helper/ProcessHandler.java
@@ -151,14 +151,6 @@ public class ProcessHandler
}
/**
- * Creates instance with specified external command and set the time out for the command.
- */
- public ProcessHandler(String cmdLine, int timeOut)
- {
- this(cmdLine, null, null, null, timeOut);
- }
-
- /**
* Creates instance with specified external command which
* will be executed in the some work directory and
*
diff --git a/qadevOOo/runner/helper/StringHelper.java b/qadevOOo/runner/helper/StringHelper.java
index 7c4943c05ee9..7e265d62ff61 100644
--- a/qadevOOo/runner/helper/StringHelper.java
+++ b/qadevOOo/runner/helper/StringHelper.java
@@ -21,26 +21,6 @@ package helper;
public class StringHelper
{
- /**
- * removes quotes if both exists at start and at end
- */
- public static String removeSurroundQuoteIfExists(String _sPath)
- {
- String sNewPath = _sPath;
- if (
- (_sPath.startsWith("\"") && _sPath.endsWith("\"")) ||
- (_sPath.startsWith("'") && _sPath.endsWith("'"))
- )
- {
- // remove trailing quotes, if exists
- sNewPath = sNewPath.substring(1);
-
- // remove trailing quotes, if exists
- sNewPath = sNewPath.substring(0, sNewPath.length() - 1);
- }
- return sNewPath;
- }
-
public static String removeQuoteIfExists(String _sPath)
{
String sNewPath = _sPath;
diff --git a/sc/qa/complex/dataPilot/_XDataPilotTable.java b/sc/qa/complex/dataPilot/_XDataPilotTable.java
index bb68565f196e..1856413caa98 100644
--- a/sc/qa/complex/dataPilot/_XDataPilotTable.java
+++ b/sc/qa/complex/dataPilot/_XDataPilotTable.java
@@ -95,21 +95,5 @@ public class _XDataPilotTable {
return bResult;
}
- /**
- * Test sets new value of the cell obtained by object relation
- * 'CELLFORCHANGE', and checks value of the cell obtained by object
- * relation 'CELLFORCHECK'.<p>
- * Has <b>OK</b> status if value of the cell obtained by object relation
- * 'CELLFORCHECK' is changed. <p>
- */
- public boolean _refresh(){
- xCellForChange.setValue(changeValue);
- double oldData = xCellForCheck.getValue();
- oObj.refresh();
- double newData = xCellForCheck.getValue();
- System.out.println("Old data:" + oldData + "; new data:" + newData);
-
- return oldData != newData;
- }
}
diff --git a/toolkit/test/accessibility/ov/ObjectView.java b/toolkit/test/accessibility/ov/ObjectView.java
index 694a331abbec..7e1570b62b75 100644
--- a/toolkit/test/accessibility/ov/ObjectView.java
+++ b/toolkit/test/accessibility/ov/ObjectView.java
@@ -39,7 +39,6 @@ abstract public class ObjectView
{
public ObjectView (ObjectViewContainer aContainer)
{
- maContainer = aContainer;
mxContext = null;
}
@@ -78,6 +77,4 @@ abstract public class ObjectView
/// Reference to the current object to display information about.
protected XAccessibleContext mxContext;
-
- protected ObjectViewContainer maContainer;
}
diff --git a/ucb/qa/complex/tdoc/_XComponent.java b/ucb/qa/complex/tdoc/_XComponent.java
index 47e920131cec..1f86128ffc32 100644
--- a/ucb/qa/complex/tdoc/_XComponent.java
+++ b/ucb/qa/complex/tdoc/_XComponent.java
@@ -69,15 +69,6 @@ public class _XComponent {
private final XEventListener listener2 = new MyEventListener2();
/**
- * For the cfgmgr2.OSetElement tests: dispose the owner element.
- */
- protected void before() {
- // do not dispose this component, but parent instead
-// altDispose = (XComponent)tEnv.getObjRelation("XComponent.DisposeThis");
-
- }
-
- /**
* Adds two listeners. <p>
* Has OK status if then the first listener will receive an event
* on <code>dispose</code> method call.
@@ -112,40 +103,6 @@ public class _XComponent {
private boolean disposed = false;
- /**
- * Disposes the object and then check appropriate listeners were
- * called or not. <p>
- * Method tests to be completed successfully :
- * <ul>
- * <li> <code>removeEventListener</code> : method must remove one of two
- * listeners. </li>
- * </ul> <p>
- * Has OK status if liseter removed wasn't called and other listener
- * was.
- */
- public boolean _dispose() {
- disposed = false;
-
- log.println( "begin dispose" + Thread.currentThread());
- oObj.dispose();
-
- util.utils.pause(500);
- if (Loutput[0]!=null) log.println(Loutput[0]);
- if (Loutput[1]!=null) log.println(Loutput[1]);
- log.println( "end dispose" + Thread.currentThread());
- disposed = true;
-
- // check that dispose() works OK.
- return listenerDisposed[0] && !listenerDisposed[1];
-
- } // finished _dispose()
-
- /**
- * Forces object recreation.
- */
- protected void after() {
- }
-
} // finished class _XComponent
diff --git a/wizards/Jar_commonwizards.mk b/wizards/Jar_commonwizards.mk
index 07d8dd45135d..a9b15619b022 100644
--- a/wizards/Jar_commonwizards.mk
+++ b/wizards/Jar_commonwizards.mk
@@ -69,7 +69,6 @@ $(eval $(call gb_Jar_add_sourcefiles,commonwizards,\
wizards/com/sun/star/wizards/ui/event/XActionListenerAdapter \
wizards/com/sun/star/wizards/ui/event/XItemListenerAdapter \
wizards/com/sun/star/wizards/ui/event/XTextListenerAdapter \
- wizards/com/sun/star/wizards/ui/event/XWindowListenerAdapter \
wizards/com/sun/star/wizards/ui/AggregateComponent \
wizards/com/sun/star/wizards/ui/CommandFieldSelection \
wizards/com/sun/star/wizards/ui/ControlScroller \
diff --git a/wizards/com/sun/star/wizards/ui/event/XWindowListenerAdapter.java b/wizards/com/sun/star/wizards/ui/event/XWindowListenerAdapter.java
deleted file mode 100644
index 118569ab16e1..000000000000
--- a/wizards/com/sun/star/wizards/ui/event/XWindowListenerAdapter.java
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed
- * with this work for additional information regarding copyright
- * ownership. The ASF licenses this file to you under the Apache
- * License, Version 2.0 (the "License"); you may not use this file
- * except in compliance with the License. You may obtain a copy of
- * the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-package com.sun.star.wizards.ui.event;
-
-import com.sun.star.awt.WindowEvent;
-import com.sun.star.awt.XWindowListener;
-import com.sun.star.lang.EventObject;
-
-public class XWindowListenerAdapter implements XWindowListener {
-
- public void disposing(EventObject event) {
- }
-
- public void windowHidden(EventObject event) {
- }
-
- public void windowMoved(WindowEvent event) {
- }
-
- public void windowResized(WindowEvent event) {
- }
-
- public void windowShown(EventObject event) {
- }
-
-}