Kaydet (Commit) e4bad391 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

createWindowFoo is unused

Change-Id: Ia61efc5d5ee65178fd7d868cb57eed9ba3c0519e
üst dacaa0af
......@@ -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);
......
......@@ -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
*/
......
......@@ -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 ) :
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment