[Libreoffice-commits] .: odk/examples

Caolán McNamara caolan at kemper.freedesktop.org
Thu Dec 9 07:12:59 PST 2010


 odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/unix/nativeview.c |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 2c1667eb98ec32b8893ccc7d4e91281a00e706dc
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Dec 9 12:14:17 2010 +0000

    cppcheck: unused variables

diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/unix/nativeview.c b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/unix/nativeview.c
index 83f246e..68be138 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/unix/nativeview.c
+++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/nativelib/unix/nativeview.c
@@ -78,7 +78,6 @@ JNIEXPORT jlong JNICALL Java_NativeView_getNativeWindow
     JAWT_DrawingSurfaceInfo*    dsi     ;
     JAWT_X11DrawingSurfaceInfo* dsi_x11 ;
     Drawable                    drawable;
-    Display*                    display ;
 
     /* Get the AWT */
     awt.version = JAWT_VERSION_1_3;
@@ -99,7 +98,6 @@ JNIEXPORT jlong JNICALL Java_NativeView_getNativeWindow
     /* Get the platform-specific drawing info */
     dsi_x11  = (JAWT_X11DrawingSurfaceInfo*)dsi->platformInfo;
     drawable = dsi_x11->drawable;
-    display  = dsi_x11->display;
 
     /* Free the drawing surface info */
     ds->FreeDrawingSurfaceInfo(dsi);


More information about the Libreoffice-commits mailing list