summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-10-16 15:45:22 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-10-24 16:49:49 +0200
commitf252b332dd2652abb02851ba0c2521c045787801 (patch)
tree0b582426682ff576908b73e1d57ade8ae105e598 /android
parent4970e292fb44f482e84822fa97188bcbdfce2ed4 (diff)
fdo#46808, renamet awt::XToolkit2 to XToolkitExperimental..
..because we want to use the name for the new merged interface for the Toolkit service. Change-Id: Ib1e193c7d04729f6420ee6984231fd50181e59d3
Diffstat (limited to 'android')
-rw-r--r--android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java6
-rw-r--r--android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java6
-rw-r--r--android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java6
3 files changed, 9 insertions, 9 deletions
diff --git a/android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java b/android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java
index 841b3418efe8..8c9a71374196 100644
--- a/android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java
+++ b/android/experimental/DocumentLoader/src/org/libreoffice/android/examples/DocumentLoader.java
@@ -92,7 +92,7 @@ import com.sun.star.awt.Size;
import com.sun.star.awt.XBitmap;
import com.sun.star.awt.XControl;
import com.sun.star.awt.XDevice;
-import com.sun.star.awt.XToolkit2;
+import com.sun.star.awt.XToolkitExperimental;
import com.sun.star.beans.PropertyValue;
import com.sun.star.frame.XComponentLoader;
import com.sun.star.frame.XController;
@@ -130,7 +130,7 @@ public class DocumentLoader
XComponentContext context;
XMultiComponentFactory mcf;
XComponentLoader componentLoader;
- XToolkit2 toolkit;
+ XToolkitExperimental toolkit;
XDevice dummySmallDevice;
Object doc;
int pageCount;
@@ -822,7 +822,7 @@ public class DocumentLoader
Object toolkitService = mcf.createInstanceWithContext
("com.sun.star.awt.Toolkit", context);
- toolkit = (XToolkit2) UnoRuntime.queryInterface(XToolkit2.class, toolkitService);
+ toolkit = (XToolkitExperimental) UnoRuntime.queryInterface(XToolkitExperimental.class, toolkitService);
renderable = (XRenderable) UnoRuntime.queryInterface(XRenderable.class, doc);
diff --git a/android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java b/android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java
index 601e583268d7..ea410512d20a 100644
--- a/android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java
+++ b/android/experimental/LibreOffice4Android/src/org/libreoffice/android/DocumentLoader.java
@@ -79,7 +79,7 @@ import com.sun.star.awt.Size;
import com.sun.star.awt.XBitmap;
import com.sun.star.awt.XControl;
import com.sun.star.awt.XDevice;
-import com.sun.star.awt.XToolkit2;
+import com.sun.star.awt.XToolkitExperimental;
import com.sun.star.beans.PropertyValue;
import com.sun.star.frame.XComponentLoader;
import com.sun.star.frame.XController;
@@ -121,7 +121,7 @@ public class DocumentLoader
XComponentContext context;
XMultiComponentFactory mcf;
XComponentLoader componentLoader;
- XToolkit2 toolkit;
+ XToolkitExperimental toolkit;
XDevice dummySmallDevice;
Object doc;
int pageCount;
@@ -681,7 +681,7 @@ public class DocumentLoader
Object toolkitService = mcf.createInstanceWithContext
("com.sun.star.awt.Toolkit", context);
- toolkit = (XToolkit2) UnoRuntime.queryInterface(XToolkit2.class, toolkitService);
+ toolkit = (XToolkitExperimental) UnoRuntime.queryInterface(XToolkitExperimental.class, toolkitService);
renderable = (XRenderable) UnoRuntime.queryInterface(XRenderable.class, doc);
diff --git a/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java b/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java
index d47d25599066..029db572d5a5 100644
--- a/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java
+++ b/android/experimental/LibreOffice4Android/src/org/libreoffice/ui/LibreOfficeUIActivity.java
@@ -64,7 +64,7 @@ import com.sun.star.awt.Size;
import com.sun.star.awt.XBitmap;
import com.sun.star.awt.XControl;
import com.sun.star.awt.XDevice;
-import com.sun.star.awt.XToolkit2;
+import com.sun.star.awt.XToolkitExperimental;
import com.sun.star.beans.PropertyValue;
import com.sun.star.frame.XComponentLoader;
import com.sun.star.frame.XController;
@@ -117,7 +117,7 @@ public class LibreOfficeUIActivity extends SherlockActivity implements ActionBar
XComponentContext context;
XMultiComponentFactory mcf;
XComponentLoader componentLoader;
- XToolkit2 toolkit;
+ XToolkitExperimental toolkit;
XDevice dummySmallDevice;
Object doc;
int pageCount;
@@ -796,7 +796,7 @@ class ListItemAdapter implements ListAdapter{
Object toolkitService = mcf.createInstanceWithContext
("com.sun.star.awt.Toolkit", context);
- toolkit = (XToolkit2) UnoRuntime.queryInterface(XToolkit2.class, toolkitService);
+ toolkit = (XToolkitExperimental) UnoRuntime.queryInterface(XToolkitExperimental.class, toolkitService);
renderable = (XRenderable) UnoRuntime.queryInterface(XRenderable.class, doc);
if (renderable == null)