summaryrefslogtreecommitdiff
path: root/odk/examples/java
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-12 13:37:47 +0200
committerNoel Grandin <noel@peralex.com>2014-12-12 13:41:21 +0200
commit7320714922b2d68f668283747faf1b98e7d2b15b (patch)
tree6fab468cda2a8bdebdd242302ba4e8fb120cc55f /odk/examples/java
parent513108bd57bc64091f1faaa640c0f026b7d91001 (diff)
java: fix non-public UNO implementation classes
which I messed up in commit 70f56bc22fe952c "java: reduce scope, make member classes private" Change-Id: I817b2a571e2124f551ccd5c0d8e1099d89f0ec46
Diffstat (limited to 'odk/examples/java')
-rw-r--r--odk/examples/java/Inspector/InspectorAddon.java2
-rw-r--r--odk/examples/java/Inspector/ProtocolHandlerAddon.java2
-rw-r--r--odk/examples/java/MinimalComponent/MinimalComponent.java2
-rw-r--r--odk/examples/java/ToDo/ToDo.java2
4 files changed, 4 insertions, 4 deletions
diff --git a/odk/examples/java/Inspector/InspectorAddon.java b/odk/examples/java/Inspector/InspectorAddon.java
index fee4f1dcbd4d..d9236ce2ba05 100644
--- a/odk/examples/java/Inspector/InspectorAddon.java
+++ b/odk/examples/java/Inspector/InspectorAddon.java
@@ -53,7 +53,7 @@ public class InspectorAddon {
/** This class implements the component. At least the interfaces XServiceInfo,
* XTypeProvider, and XInitialization should be provided by the service.
*/
- private static class InspectorAddonImpl extends WeakBase implements XDispatchProvider, XInitialization, XServiceInfo {
+ public static class InspectorAddonImpl extends WeakBase implements XDispatchProvider, XInitialization, XServiceInfo {
private org.openoffice.XInstanceInspector xInstInspector = null;
// Dispatcher oDispatcher = null;
private XFrame m_xFrame = null;
diff --git a/odk/examples/java/Inspector/ProtocolHandlerAddon.java b/odk/examples/java/Inspector/ProtocolHandlerAddon.java
index 714593b496c6..80e52db58f9a 100644
--- a/odk/examples/java/Inspector/ProtocolHandlerAddon.java
+++ b/odk/examples/java/Inspector/ProtocolHandlerAddon.java
@@ -57,7 +57,7 @@ public class ProtocolHandlerAddon {
/** This class implements the component. At least the interfaces XServiceInfo,
* XTypeProvider, and XInitialization should be provided by the service.
*/
- private static class ProtocolHandlerAddonImpl extends WeakBase implements
+ public static class ProtocolHandlerAddonImpl extends WeakBase implements
XDispatchProvider,
XDispatch,
XInitialization,
diff --git a/odk/examples/java/MinimalComponent/MinimalComponent.java b/odk/examples/java/MinimalComponent/MinimalComponent.java
index e0c34d4dfe83..30b984c75c46 100644
--- a/odk/examples/java/MinimalComponent/MinimalComponent.java
+++ b/odk/examples/java/MinimalComponent/MinimalComponent.java
@@ -49,7 +49,7 @@ public class MinimalComponent {
/** This class implements the component. At least the interfaces XServiceInfo,
* XTypeProvider, and XInitialization should be provided by the service.
*/
- private static class _MinimalComponent extends WeakBase
+ public static class _MinimalComponent extends WeakBase
implements XInitialization, XServiceInfo {
/** The service name, that must be used to get an instance of this service.
*/
diff --git a/odk/examples/java/ToDo/ToDo.java b/odk/examples/java/ToDo/ToDo.java
index af518ad0e9ff..c22ad16ab32f 100644
--- a/odk/examples/java/ToDo/ToDo.java
+++ b/odk/examples/java/ToDo/ToDo.java
@@ -75,7 +75,7 @@ public class ToDo {
* XInterface, XTypeProvider, and XWeak implemented by the helper class
* WeakBase and XServiceInfo should be provided by the service.
*/
- private static class ToDoImpl extends WeakBase implements XServiceInfo, XToDo {
+ public static class ToDoImpl extends WeakBase implements XServiceInfo, XToDo {
/** The service name, that must be used to get an instance of this service.
*/