summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetSample.cs2
-rw-r--r--odk/examples/DevelopersGuide/Forms/GridFieldValidator.java2
-rw-r--r--odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetSample.java2
3 files changed, 3 insertions, 3 deletions
diff --git a/odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetSample.cs b/odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetSample.cs
index 34ea967fe710..9b78a289fb21 100644
--- a/odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetSample.cs
+++ b/odk/examples/CLI/CSharp/Spreadsheet/SpreadsheetSample.cs
@@ -1084,7 +1084,7 @@ public class SpreadsheetSample : SpreadsheetDocHelper
unoidl.com.sun.star.task.XInteractionHandler xHandler =
(unoidl.com.sun.star.task.XInteractionHandler)
xServiceManager.createInstance(
- "com.sun.star.sdb.InteractionHandler" );
+ "com.sun.star.task.InteractionHandler" );
unoidl.com.sun.star.sdbcx.XTablesSupplier xSupplier =
(unoidl.com.sun.star.sdbcx.XTablesSupplier)
xSource.connectWithCompletion( xHandler );
diff --git a/odk/examples/DevelopersGuide/Forms/GridFieldValidator.java b/odk/examples/DevelopersGuide/Forms/GridFieldValidator.java
index ead8b4340c98..03e8a931d528 100644
--- a/odk/examples/DevelopersGuide/Forms/GridFieldValidator.java
+++ b/odk/examples/DevelopersGuide/Forms/GridFieldValidator.java
@@ -112,7 +112,7 @@ class GridFieldValidator implements XUpdateListener
XInteractionHandler xHandler = (XInteractionHandler)UnoRuntime.queryInterface(
XInteractionHandler.class,
m_xCtx.getServiceManager().createInstanceWithContext(
- "com.sun.star.sdb.InteractionHandler", m_xCtx ) );
+ "com.sun.star.task.InteractionHandler", m_xCtx ) );
// create a new request and execute it
InteractionRequest aRequest = new InteractionRequest( aError );
diff --git a/odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetSample.java b/odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetSample.java
index ba88cdbf1832..fcae70c91ec4 100644
--- a/odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetSample.java
+++ b/odk/examples/DevelopersGuide/Spreadsheet/SpreadsheetSample.java
@@ -1100,7 +1100,7 @@ public class SpreadsheetSample extends SpreadsheetDocHelper
(com.sun.star.task.XInteractionHandler)UnoRuntime.queryInterface(
com.sun.star.task.XInteractionHandler.class,
xServiceManager.createInstanceWithContext(
- "com.sun.star.sdb.InteractionHandler", getContext()) );
+ "com.sun.star.task.InteractionHandler", getContext()) );
com.sun.star.sdbcx.XTablesSupplier xSupplier =
(com.sun.star.sdbcx.XTablesSupplier)UnoRuntime.queryInterface(
com.sun.star.sdbcx.XTablesSupplier.class,