Kaydet (Commit) fe5f4f5a authored tarafından Frank Schoenheit [fs]'s avatar Frank Schoenheit [fs]
......@@ -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 );
......
......@@ -118,7 +118,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 );
......
......@@ -1106,7 +1106,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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment