summaryrefslogtreecommitdiff
path: root/odk
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
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')
-rw-r--r--odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java2
-rw-r--r--odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java2
-rw-r--r--odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java2
-rw-r--r--odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java2
-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
8 files changed, 8 insertions, 8 deletions
diff --git a/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java b/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
index 083347cb69b9..253ca608b503 100644
--- a/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
+++ b/odk/examples/DevelopersGuide/Components/dialogcomponent/DialogComponent.java
@@ -65,7 +65,7 @@ import com.sun.star.test.XTestDialogHandler;
// ComponentBase, see implementation of TestComponentA.
public class DialogComponent {
- private static class _DialogComponent
+ public static class _DialogComponent
implements XTypeProvider, XServiceInfo, XTestDialogHandler, XDialogEventHandler {
private static final String __serviceName= "com.sun.star.test.TestDialogHandler";
diff --git a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
index 7930f8595601..bf3cea5a1510 100644
--- a/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
+++ b/odk/examples/DevelopersGuide/OfficeDev/FilterDevelopment/AsciiFilter/AsciiReplaceFilter.java
@@ -67,7 +67,7 @@ import com.sun.star.document.XFilter;
public class AsciiReplaceFilter
{
- private static class _AsciiReplaceFilter extends WeakBase
+ public static class _AsciiReplaceFilter extends WeakBase
implements XInitialization ,
XServiceInfo ,
XNamed ,
diff --git a/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java b/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
index a3a2e0975204..e6d6830a48ed 100644
--- a/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
+++ b/odk/examples/DevelopersGuide/Spreadsheet/ExampleAddIn.java
@@ -108,7 +108,7 @@ class ExampleAddInThread extends Thread
public class ExampleAddIn
{
- static private class _ExampleAddIn extends com.sun.star.lib.uno.helper.WeakBase
+ static public class _ExampleAddIn extends com.sun.star.lib.uno.helper.WeakBase
implements org.openoffice.sheet.addin.XExampleAddIn,
com.sun.star.sheet.XAddIn,
com.sun.star.lang.XServiceName,
diff --git a/odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java b/odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java
index 445b75da053e..bea38f1ef896 100644
--- a/odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java
+++ b/odk/examples/DevelopersGuide/Spreadsheet/ExampleDataPilotSource.java
@@ -752,7 +752,7 @@ public class ExampleDataPilotSource
{
// implementation of com.sun.star.sheet.DataPilotSource
- static private class _ExampleDataPilotSource implements
+ static public class _ExampleDataPilotSource implements
com.sun.star.sheet.XDimensionsSupplier,
com.sun.star.sheet.XDataPilotResults,
com.sun.star.util.XRefreshable,
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.
*/