summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-02-26 20:47:38 +0200
committerTor Lillqvist <tml@iki.fi>2013-02-26 23:48:54 +0200
commite4bad391fc76126d7e1da7b79a86020748700921 (patch)
tree44d09ba285324efd00d47d66f3c70f6bb43e6f62
parentdacaa0af5069abc474718eb5f1769898f79be782 (diff)
createWindowFoo is unused
Change-Id: Ia61efc5d5ee65178fd7d868cb57eed9ba3c0519e
-rw-r--r--android/Bootstrap/src/org/libreoffice/android/Bootstrap.java3
-rw-r--r--sal/android/lo-bootstrap.c14
-rw-r--r--vcl/source/window/wrkwin.cxx10
3 files changed, 0 insertions, 27 deletions
diff --git a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
index d0f844f3cf73..b24a2e5881f6 100644
--- a/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
+++ b/android/Bootstrap/src/org/libreoffice/android/Bootstrap.java
@@ -77,9 +77,6 @@ public final class Bootstrap
// where the lo-bootstrap library is.
public static native void setCommandArgs(String[] argv);
- // A wrapper for createWindowFoo() in the vcl library
- public static native int createWindowFoo();
-
// A method that starts a thread to redirect stdout and stderr writes to
// the Android logging mechanism, or stops the redirection.
public static native boolean redirect_stdio(boolean state);
diff --git a/sal/android/lo-bootstrap.c b/sal/android/lo-bootstrap.c
index 54e10c12b964..99da6abff8bf 100644
--- a/sal/android/lo-bootstrap.c
+++ b/sal/android/lo-bootstrap.c
@@ -927,20 +927,6 @@ Java_org_libreoffice_android_Bootstrap_setCommandArgs(JNIEnv* env,
osl_setCommandArgs(c_argc, c_argv);
}
-extern int createWindowFoo(void);
-
-__attribute__ ((visibility("default")))
-jint
-Java_org_libreoffice_android_Bootstrap_createWindowFoo(JNIEnv* env,
- jobject clazz)
-{
- (void) env;
- (void) clazz;
-
- return createWindowFoo();
-}
-
-
/* Code for reading lines from the pipe based on the (Apache-licensed) Android
* logwrapper.c
*/
diff --git a/vcl/source/window/wrkwin.cxx b/vcl/source/window/wrkwin.cxx
index cc5bade1a18e..166bb09f4435 100644
--- a/vcl/source/window/wrkwin.cxx
+++ b/vcl/source/window/wrkwin.cxx
@@ -98,16 +98,6 @@ WorkWindow::WorkWindow( WindowType nType ) :
ImplInitWorkWindowData();
}
-#ifdef ANDROID
-
-extern "C" void *
-createWindowFoo(void)
-{
- return (void*) new WorkWindow((Window *)NULL);
-}
-
-#endif
-
// -----------------------------------------------------------------------
WorkWindow::WorkWindow( Window* pParent, WinBits nStyle ) :