summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/util/SOfficeFactory.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/util/SOfficeFactory.java')
-rw-r--r--qadevOOo/runner/util/SOfficeFactory.java17
1 files changed, 0 insertions, 17 deletions
diff --git a/qadevOOo/runner/util/SOfficeFactory.java b/qadevOOo/runner/util/SOfficeFactory.java
index 298b8a18952f..f086a0d27fb2 100644
--- a/qadevOOo/runner/util/SOfficeFactory.java
+++ b/qadevOOo/runner/util/SOfficeFactory.java
@@ -440,22 +440,5 @@ public class SOfficeFactory {
} // finished openDoc
- private XComponent openDoc(String kind, String frameName, PropertyValue[] mediaDescriptor)
- throws com.sun.star.lang.IllegalArgumentException,
- com.sun.star.io.IOException,
- com.sun.star.uno.Exception {
-
- if (frameName == null) {
- frameName = "_blank";
- }
- // load a blank a doc
- XComponent oDoc = oCLoader.loadComponentFromURL(
- "private:factory/" + kind, frameName, 40, mediaDescriptor);
- DesktopTools.bringWindowToFront(oDoc);
-
- return oDoc;
-
- } // finished openDoc
-
}