diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-08 11:36:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-13 08:49:22 +0200 |
commit | da677dfd59c2b551f3335ee0a5d5dfb33f9869c5 (patch) | |
tree | 9aa09066c95935117bf405b119ed9f89f448a54d /odk | |
parent | 14d1a11ec4a7ed0deeac522403248536e8d23f57 (diff) |
java: reduce scope, make fields private
found by UCDetector
Change-Id: I7f97e15667159cf8ee776e8f32fdcdec8ec00ed6
Diffstat (limited to 'odk')
26 files changed, 96 insertions, 96 deletions
diff --git a/odk/examples/DevelopersGuide/Config/ConfigExamples.java b/odk/examples/DevelopersGuide/Config/ConfigExamples.java index 13a314254160..ba1e7034af24 100644 --- a/odk/examples/DevelopersGuide/Config/ConfigExamples.java +++ b/odk/examples/DevelopersGuide/Config/ConfigExamples.java @@ -357,11 +357,11 @@ public class ConfigExamples /// class to hold information about grid settings public static class GridOptions { - public boolean visible; - public int resolution_x; - public int resolution_y; - public int subdivision_x; - public int subdivision_y; + private boolean visible; + private int resolution_x; + private int resolution_y; + private int subdivision_x; + private int subdivision_y; @Override public String toString() { diff --git a/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java b/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java index 0c3d3a933261..fbb1933387aa 100644 --- a/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java +++ b/odk/examples/DevelopersGuide/Forms/DocumentBasedExample.java @@ -26,7 +26,7 @@ public abstract class DocumentBasedExample implements com.sun.star.lang.XEventLi /// our current test document protected DocumentHelper m_document; protected FormLayer m_formLayer; - protected DocumentType m_documentType; + private DocumentType m_documentType; /** Creates a new instance of DocumentBasedExample */ public DocumentBasedExample( DocumentType documentType ) diff --git a/odk/examples/DevelopersGuide/Forms/DocumentHelper.java b/odk/examples/DevelopersGuide/Forms/DocumentHelper.java index 631d41876a8e..6b9518631396 100644 --- a/odk/examples/DevelopersGuide/Forms/DocumentHelper.java +++ b/odk/examples/DevelopersGuide/Forms/DocumentHelper.java @@ -31,9 +31,9 @@ import com.sun.star.container.*; public class DocumentHelper { /// the remote office context - protected XComponentContext m_remoteContext; + private XComponentContext m_remoteContext; /// the remote service manager - protected XMultiServiceFactory m_orb; + private XMultiServiceFactory m_orb; protected XComponent m_documentComponent; /* ------------------------------------------------------------------ */ diff --git a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java index e349892d3ea9..5c15718706a7 100644 --- a/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java +++ b/odk/examples/DevelopersGuide/Forms/HsqlDatabase.java @@ -37,14 +37,14 @@ import com.sun.star.util.CloseVetoException; public class HsqlDatabase { - XComponentContext m_context; + private XComponentContext m_context; // the URL of the temporary file used for the database document - String m_databaseDocumentFile; + private String m_databaseDocumentFile; // the database document - XOfficeDatabaseDocument m_databaseDocument; + private XOfficeDatabaseDocument m_databaseDocument; // the data source belonging to the database document // the default connection - XConnection m_connection; + private XConnection m_connection; public HsqlDatabase( XComponentContext _context ) throws Exception diff --git a/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java b/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java index 69a7f77d4cab..4f084d629df6 100644 --- a/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java +++ b/odk/examples/DevelopersGuide/GUI/RoadmapItemStateChangeListener.java @@ -39,7 +39,7 @@ import com.sun.star.uno.UnoRuntime; public class RoadmapItemStateChangeListener implements XItemListener { - protected com.sun.star.lang.XMultiServiceFactory m_xMSFDialogModel; + private com.sun.star.lang.XMultiServiceFactory m_xMSFDialogModel; public RoadmapItemStateChangeListener(com.sun.star.lang.XMultiServiceFactory xMSFDialogModel) { m_xMSFDialogModel = xMSFDialogModel; diff --git a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java index 1b68cfa81c76..fc67ea18c166 100644 --- a/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java +++ b/odk/examples/DevelopersGuide/GUI/UnoDialogSample.java @@ -107,15 +107,15 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis protected XComponentContext m_xContext = null; protected com.sun.star.lang.XMultiComponentFactory m_xMCF; protected XMultiServiceFactory m_xMSFDialogModel; - protected XModel m_xModel; + private XModel m_xModel; protected XNameContainer m_xDlgModelNameContainer; protected XControlContainer m_xDlgContainer; // protected XNameAccess m_xDlgModelNameAccess; protected XControl m_xDialogControl; protected XDialog xDialog; - protected XReschedule mxReschedule; + private XReschedule mxReschedule; protected XWindowPeer m_xWindowPeer = null; - protected XTopWindow m_xTopWindow = null; + private XTopWindow m_xTopWindow = null; protected XFrame m_xFrame = null; protected XComponent m_xComponent = null; @@ -1399,8 +1399,8 @@ public class UnoDialogSample implements XTextListener, XSpinListener, XActionLis // Globally available object variables of the roadmapmodel XPropertySet m_xRMPSet; - XSingleServiceFactory m_xSSFRoadmap; - XIndexContainer m_xRMIndexCont; + private XSingleServiceFactory m_xSSFRoadmap; + private XIndexContainer m_xRMIndexCont; public void addRoadmap() { XPropertySet xDialogModelPropertySet = null; diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java index ff88ebe3ce08..c06dcce3bde3 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/CustomizeView.java @@ -176,11 +176,11 @@ public class CustomizeView extends JPanel com.sun.star.lang.XEventListener { /// URL, to toogle the requested UI item - String m_sURL; + private String m_sURL; /// name of the property which must be used in combination with the URL - String m_sProp; + private String m_sProp; /// we must use this frame to dispatch a request - com.sun.star.frame.XFrame m_xFrame; + private com.sun.star.frame.XFrame m_xFrame; diff --git a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java index 4405f05ebf09..2d07f9642d9c 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java +++ b/odk/examples/DevelopersGuide/OfficeDev/DesktopEnvironment/JavaWindowPeerFake.java @@ -40,7 +40,7 @@ class JavaWindowPeerFake implements com.sun.star.awt.XSystemDependentWindowPeer, com.sun.star.awt.XWindowPeer { - NativeView maView; + private NativeView maView; public JavaWindowPeerFake(NativeView aNative) { diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java index 66ac7893f835..da283d365b98 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java +++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/FilterOptions.java @@ -61,7 +61,7 @@ public class FilterOptions public com.sun.star.io.XInputStream m_xInput ; public com.sun.star.io.XOutputStream m_xOutput ; public boolean m_bStreamOwner ; - public String m_sURL ; + private String m_sURL ; public String m_sOld ; public String m_sNew ; public boolean m_bCaseChange ; diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java index 7025fdd7d648..9c9978da3ac2 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/OneInstanceFactory.java @@ -52,10 +52,10 @@ public class OneInstanceFactory implements XSingleComponentFactory, XServiceInfo { - Class aMyClass; - String aSvcImplName; - String[] aSupportedSvcNames; - XInterface xInstantiatedService; + private Class aMyClass; + private String aSvcImplName; + private String[] aSupportedSvcNames; + private XInterface xInstantiatedService; public OneInstanceFactory( Class aMyClass, diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java index b304bedc920a..2352ff8cceeb 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/PropChgHelper.java @@ -47,10 +47,10 @@ public class PropChgHelper implements XPropertyChangeListener, XLinguServiceEventBroadcaster { - XInterface xEvtSource; - String[] aPropNames; - XPropertySet xPropSet; - ArrayList<XLinguServiceEventListener> aLngSvcEvtListeners; + private XInterface xEvtSource; + private String[] aPropNames; + private XPropertySet xPropSet; + private ArrayList<XLinguServiceEventListener> aLngSvcEvtListeners; public PropChgHelper( XInterface xEvtSource, diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java index 039b67f89f09..01b9acd7f9c9 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XHyphenatedWord_impl.java @@ -37,12 +37,12 @@ import com.sun.star.lang.Locale; public class XHyphenatedWord_impl implements com.sun.star.linguistic2.XHyphenatedWord { - String aWord; - String aHyphenatedWord; - short nHyphenPos; - short nHyphenationPos; - Locale aLang; - boolean bIsAltSpelling; + private String aWord; + private String aHyphenatedWord; + private short nHyphenPos; + private short nHyphenationPos; + private Locale aLang; + private boolean bIsAltSpelling; public XHyphenatedWord_impl( String aWord, diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java index 133def0e4b0a..0df2eb430b09 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XMeaning_impl.java @@ -37,8 +37,8 @@ public class XMeaning_impl implements com.sun.star.linguistic2.XMeaning { - String aMeaning; - String[] aSynonyms; + private String aMeaning; + private String[] aSynonyms; public XMeaning_impl ( String aMeaning, String[] aSynonyms ) { diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java index 11eb33fff6f0..cf59d407bf13 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XPossibleHyphens_impl.java @@ -37,10 +37,10 @@ import com.sun.star.lang.Locale; public class XPossibleHyphens_impl implements com.sun.star.linguistic2.XPossibleHyphens { - String aWord; - String aHyphWord; - short[] aOrigHyphenPos; - Locale aLang; + private String aWord; + private String aHyphWord; + private short[] aOrigHyphenPos; + private Locale aLang; public XPossibleHyphens_impl( String aWord, diff --git a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java index 9b3d671a7b93..ae26a447ce55 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java +++ b/odk/examples/DevelopersGuide/OfficeDev/Linguistic/XSpellAlternatives_impl.java @@ -38,10 +38,10 @@ import com.sun.star.lang.Locale; public class XSpellAlternatives_impl implements com.sun.star.linguistic2.XSpellAlternatives { - String aWord; - Locale aLanguage; - String[] aAlt; // list of alternatives, may be empty. - short nType; // type of failure + private String aWord; + private Locale aLanguage; + private String[] aAlt; // list of alternatives, may be empty. + private short nType; // type of failure public XSpellAlternatives_impl( String aWord, diff --git a/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java b/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java index b6f58d9a4c79..b0092d9d123f 100644 --- a/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java +++ b/odk/examples/DevelopersGuide/ScriptingFramework/ScriptSelector/ScriptSelector/ScriptSelector.java @@ -203,7 +203,7 @@ class ScriptSelectorPanel extends JPanel { private XBrowseNode myrootnode = null; public JTextField textField; public JTree tree; - public DefaultTreeModel treeModel; + private DefaultTreeModel treeModel; public ScriptSelectorPanel(XBrowseNode root) { diff --git a/odk/examples/DevelopersGuide/UCB/MyActiveDataSink.java b/odk/examples/DevelopersGuide/UCB/MyActiveDataSink.java index 9ef646e47beb..0038b8f304eb 100644 --- a/odk/examples/DevelopersGuide/UCB/MyActiveDataSink.java +++ b/odk/examples/DevelopersGuide/UCB/MyActiveDataSink.java @@ -44,7 +44,7 @@ public class MyActiveDataSink implements XActiveDataSink { /** * Member properties */ - XInputStream m_aStream = null; + private XInputStream m_aStream = null; /** * Constructor diff --git a/odk/examples/java/EmbedDocument/EmbeddedObject/EditorFrame.java b/odk/examples/java/EmbedDocument/EmbeddedObject/EditorFrame.java index d30175f2b1bc..f923b15ab9fc 100644 --- a/odk/examples/java/EmbedDocument/EmbeddedObject/EditorFrame.java +++ b/odk/examples/java/EmbedDocument/EmbeddedObject/EditorFrame.java @@ -26,11 +26,11 @@ import javax.imageio.ImageIO; public class EditorFrame extends JFrame { - OwnEmbeddedObject m_aEmbObj; - JTextArea m_aTextArea; - BufferedImage m_aBufImage; + private OwnEmbeddedObject m_aEmbObj; + private JTextArea m_aTextArea; + private BufferedImage m_aBufImage; - WindowListener m_aCloser = new WindowAdapter() + private WindowListener m_aCloser = new WindowAdapter() { @Override public void windowClosing( WindowEvent e ) diff --git a/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java b/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java index d84531dcb6d3..059526184202 100644 --- a/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java +++ b/odk/examples/java/EmbedDocument/EmbeddedObject/OwnEmbeddedObject.java @@ -40,30 +40,30 @@ public final class OwnEmbeddedObject extends WeakBase implements com.sun.star.embed.XEmbedPersist, com.sun.star.embed.XEmbeddedObject { - protected final XComponentContext m_xContext; - protected final byte[] m_aClassID; + private final XComponentContext m_xContext; + private final byte[] m_aClassID; - protected boolean m_bDisposed = false; - protected int m_nObjectState = -1; + private boolean m_bDisposed = false; + private int m_nObjectState = -1; - protected com.sun.star.embed.XStorage m_xParentStorage; - protected com.sun.star.embed.XStorage m_xOwnStorage; - protected String m_aEntryName; + private com.sun.star.embed.XStorage m_xParentStorage; + private com.sun.star.embed.XStorage m_xOwnStorage; + private String m_aEntryName; - protected com.sun.star.embed.XStorage m_xNewParentStorage; - protected com.sun.star.embed.XStorage m_xNewOwnStorage; - protected String m_aNewEntryName; - protected boolean m_bWaitSaveCompleted = false; + private com.sun.star.embed.XStorage m_xNewParentStorage; + private com.sun.star.embed.XStorage m_xNewOwnStorage; + private String m_aNewEntryName; + private boolean m_bWaitSaveCompleted = false; - protected EditorFrame m_aEditorFrame; + private EditorFrame m_aEditorFrame; - protected ArrayList<Object> m_aListeners; + private ArrayList<Object> m_aListeners; - com.sun.star.embed.VerbDescriptor[] m_pOwnVerbs; + private com.sun.star.embed.VerbDescriptor[] m_pOwnVerbs; - com.sun.star.embed.XEmbeddedClient m_xClient; + private com.sun.star.embed.XEmbeddedClient m_xClient; - Dimension m_aObjSize; + private Dimension m_aObjSize; protected ArrayList<Object> GetListeners() diff --git a/odk/examples/java/Inspector/HideableMutableTreeNode.java b/odk/examples/java/Inspector/HideableMutableTreeNode.java index ffa39db2e743..4148b879ae28 100644 --- a/odk/examples/java/Inspector/HideableMutableTreeNode.java +++ b/odk/examples/java/Inspector/HideableMutableTreeNode.java @@ -26,7 +26,7 @@ public class HideableMutableTreeNode extends DefaultMutableTreeNode { /** * The node is visible flag. */ - public boolean bIsvisible = true; + private boolean bIsvisible = true; private static final String SDUMMY = "Dummy"; diff --git a/odk/examples/java/Inspector/InspectorAddon.java b/odk/examples/java/Inspector/InspectorAddon.java index 3b28adcde282..ace1b69ded53 100644 --- a/odk/examples/java/Inspector/InspectorAddon.java +++ b/odk/examples/java/Inspector/InspectorAddon.java @@ -54,9 +54,9 @@ public class InspectorAddon { * XTypeProvider, and XInitialization should be provided by the service. */ public static class InspectorAddonImpl extends WeakBase implements XDispatchProvider, XInitialization, XServiceInfo { - org.openoffice.XInstanceInspector xInstInspector = null; + private org.openoffice.XInstanceInspector xInstInspector = null; // Dispatcher oDispatcher = null; - XFrame m_xFrame = null; + private XFrame m_xFrame = null; private static final String[] m_serviceNames = { "org.openoffice.InstanceInspectorAddon", diff --git a/odk/examples/java/Inspector/SourceCodeGenerator.java b/odk/examples/java/Inspector/SourceCodeGenerator.java index 3b48b0fe93eb..ca8bb688486d 100644 --- a/odk/examples/java/Inspector/SourceCodeGenerator.java +++ b/odk/examples/java/Inspector/SourceCodeGenerator.java @@ -48,7 +48,7 @@ import com.sun.star.uno.TypeClass; public class SourceCodeGenerator { private ArrayList<String> sExceptions = new ArrayList<String>(); - ArrayList<String> sHeaderStatements = new HeaderStatements(); + private ArrayList<String> sHeaderStatements = new HeaderStatements(); private XLanguageSourceCodeGenerator m_xLanguageSourceCodeGenerator; private String sStatementCode = ""; private String sMainMethodSignature = ""; @@ -544,14 +544,14 @@ public class SourceCodeGenerator { class UnoObjectDefinition{ - Object m_oUnoObject = null; + private Object m_oUnoObject = null; Type aType = null; - String sVariableStemName = ""; - String m_sCentralVariableStemName = ""; - String sVariableName = ""; - String m_sTypeName = ""; - TypeClass m_aTypeClass = null; - Object[] m_oParameterObjects = null; + private String sVariableStemName = ""; + private String m_sCentralVariableStemName = ""; + private String sVariableName = ""; + private String m_sTypeName = ""; + private TypeClass m_aTypeClass = null; + private Object[] m_oParameterObjects = null; private UnoObjectDefinition(Any _oUnoObject){ @@ -840,8 +840,8 @@ class UnoObjectDefinition{ public class JavaCodeGenerator implements XLanguageSourceCodeGenerator{ String sStatementsCode = ""; - boolean bAddAnyConverter = false; - boolean bIsPropertyUnoObjectDefined = false; + private boolean bAddAnyConverter = false; + private boolean bIsPropertyUnoObjectDefined = false; public JavaCodeGenerator(){ } @@ -1391,9 +1391,9 @@ class UnoObjectDefinition{ public class CPlusPlusCodeGenerator implements XLanguageSourceCodeGenerator{ String sStatementsCode = ""; - boolean bIncludeStringHeader = false; - boolean bIncludeAny = false; - boolean bIncludeSequenceHeader = false; + private boolean bIncludeStringHeader = false; + private boolean bIncludeAny = false; + private boolean bIncludeSequenceHeader = false; public CPlusPlusCodeGenerator(){ } diff --git a/odk/examples/java/Inspector/SwingTreePathProvider.java b/odk/examples/java/Inspector/SwingTreePathProvider.java index ee8d00ad8521..dba9ff40fade 100644 --- a/odk/examples/java/Inspector/SwingTreePathProvider.java +++ b/odk/examples/java/Inspector/SwingTreePathProvider.java @@ -19,7 +19,7 @@ import javax.swing.tree.TreePath; public class SwingTreePathProvider implements XTreePathProvider { - TreePath m_aTreePath; + private TreePath m_aTreePath; /** Creates a new instance of TreePathProvider */ public SwingTreePathProvider(TreePath _aTreePath) { diff --git a/odk/examples/java/Inspector/SwingUnoFacetteNode.java b/odk/examples/java/Inspector/SwingUnoFacetteNode.java index dc726beaa62d..1d573f0c01f8 100644 --- a/odk/examples/java/Inspector/SwingUnoFacetteNode.java +++ b/odk/examples/java/Inspector/SwingUnoFacetteNode.java @@ -35,7 +35,7 @@ public class SwingUnoFacetteNode extends SwingUnoNode implements XUnoFacetteNode{ - String m_sFilter = ""; + private String m_sFilter = ""; /** Creates a new instance of UnoMethodNode */ public SwingUnoFacetteNode(Object _oUnoObject){ diff --git a/odk/examples/java/Inspector/UnoMethodNode.java b/odk/examples/java/Inspector/UnoMethodNode.java index 8b2e0749b730..896db027cefd 100644 --- a/odk/examples/java/Inspector/UnoMethodNode.java +++ b/odk/examples/java/Inspector/UnoMethodNode.java @@ -39,11 +39,11 @@ import com.sun.star.reflection.XIdlMethod; import com.sun.star.uno.TypeClass; public class UnoMethodNode extends UnoNode{ - XIdlMethod m_xIdlMethod = null; - Object[] m_oParamObjects = null; - Object m_oUnoReturnObject = null; - boolean m_bisInvoked = false; - XUnoMethodNode m_xUnoMethodNode = null; + private XIdlMethod m_xIdlMethod = null; + private Object[] m_oParamObjects = null; + private Object m_oUnoReturnObject = null; + private boolean m_bisInvoked = false; + private XUnoMethodNode m_xUnoMethodNode = null; /** Creates a new instance of UnoMethodNode */ diff --git a/odk/examples/java/Inspector/UnoPropertyNode.java b/odk/examples/java/Inspector/UnoPropertyNode.java index 3c83ed886be8..cd7882110339 100644 --- a/odk/examples/java/Inspector/UnoPropertyNode.java +++ b/odk/examples/java/Inspector/UnoPropertyNode.java @@ -40,10 +40,10 @@ import com.sun.star.uno.UnoRuntime; public class UnoPropertyNode extends UnoNode{ - Property aProperty; - PropertyValue aPropertyValue; - String m_sPropertyName; - Object m_oUnoReturnObject; + private Property aProperty; + private PropertyValue aPropertyValue; + private String m_sPropertyName; + private Object m_oUnoReturnObject; private int m_nPropertyType = XUnoPropertyNode.nDEFAULT; private String sLabel = ""; |