summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/GUI
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-08-12 16:27:18 +0200
committerNoel Grandin <noel@peralex.com>2014-08-13 08:49:24 +0200
commit8583da1e934a49791ef8d86668f3d5c3c5dae1d7 (patch)
treef092f708b7bb9a0a23ae82c1dc499a6e3fde4518 /odk/examples/DevelopersGuide/GUI
parent68cd011c907d00493bf2bfde531c1e244819596b (diff)
java: remove unused fields
found by UCDetector Change-Id: I4a7c56a9918054c23469de5680658e7b501f0165
Diffstat (limited to 'odk/examples/DevelopersGuide/GUI')
-rw-r--r--odk/examples/DevelopersGuide/GUI/UnoDialogSample.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
index 345c70b59c2e..27df9513b953 100644
--- a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
+++ b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java
@@ -113,9 +113,9 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
// protected XNameAccess m_xDlgModelNameAccess;
protected XControl m_xDialogControl;
protected XDialog xDialog;
- private XReschedule mxReschedule;
+
protected XWindowPeer m_xWindowPeer = null;
- private XTopWindow m_xTopWindow = null;
+
protected XFrame m_xFrame = null;
protected XComponent m_xComponent = null;
@@ -254,7 +254,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
// The scope of the control container is public...
m_xDlgContainer = UnoRuntime.queryInterface(XControlContainer.class, oUnoDialog);
- m_xTopWindow = UnoRuntime.queryInterface(XTopWindow.class, m_xDlgContainer);
+ UnoRuntime.queryInterface(XTopWindow.class, m_xDlgContainer);
// link the dialog and its model...
XControlModel xControlModel = UnoRuntime.queryInterface(XControlModel.class, oDialogModel);
@@ -317,7 +317,7 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis
xWindow.setVisible(false);
Object tk = m_xMCF.createInstanceWithContext("com.sun.star.awt.Toolkit", m_xContext);
XToolkit xToolkit = UnoRuntime.queryInterface(XToolkit.class, tk);
- mxReschedule = UnoRuntime.queryInterface(XReschedule.class, xToolkit);
+ UnoRuntime.queryInterface(XReschedule.class, xToolkit);
m_xDialogControl.createPeer(xToolkit, _xWindowParentPeer);
m_xWindowPeer = m_xDialogControl.getPeer();
return m_xWindowPeer;