summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/uno/dbinteraction.cxx
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-01-21 16:21:42 +0000
committerKurt Zenker <kz@openoffice.org>2005-01-21 16:21:42 +0000
commita04584d8939834330aa87f5804d9d01e0b9260d8 (patch)
treebb9965b8831c10322832429d3104f59a290e6dc4 /dbaccess/source/ui/uno/dbinteraction.cxx
parentINTEGRATION: CWS dba22 (1.14.50); FILE MERGED (diff)
downloadcore-a04584d8939834330aa87f5804d9d01e0b9260d8.tar.gz
core-a04584d8939834330aa87f5804d9d01e0b9260d8.zip
INTEGRATION: CWS dba22 (1.11.4); FILE MERGED
2005/01/11 15:12:59 fs 1.11.4.1: copying the changes from CWS eforms4 (branch: cws_src680_eforms4) herein
Diffstat (limited to 'dbaccess/source/ui/uno/dbinteraction.cxx')
-rw-r--r--dbaccess/source/ui/uno/dbinteraction.cxx20
1 files changed, 17 insertions, 3 deletions
diff --git a/dbaccess/source/ui/uno/dbinteraction.cxx b/dbaccess/source/ui/uno/dbinteraction.cxx
index b42b51dbecb7..e99801745593 100644
--- a/dbaccess/source/ui/uno/dbinteraction.cxx
+++ b/dbaccess/source/ui/uno/dbinteraction.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dbinteraction.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: obo $ $Date: 2004-11-17 14:54:05 $
+ * last change: $Author: kz $ $Date: 2005-01-21 17:21:42 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -198,7 +198,7 @@ namespace dbaui
return;
}
- DBG_ERROR("OInteractionHandler::handle: unsupported request type!");
+ OSL_VERIFY( implHandleUnknown( _rxRequest ) );
}
//-------------------------------------------------------------------------
@@ -478,6 +478,20 @@ namespace dbaui
}
//-------------------------------------------------------------------------
+ bool OInteractionHandler::implHandleUnknown( const Reference< XInteractionRequest >& _rxRequest )
+ {
+ Reference< XInteractionHandler > xFallbackHandler;
+ if ( m_xORB.is() )
+ xFallbackHandler = xFallbackHandler.query( m_xORB->createInstance( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.task.InteractionHandler" ) ) ) );
+ if ( xFallbackHandler.is() )
+ {
+ xFallbackHandler->handle( _rxRequest );
+ return true;
+ }
+ return false;
+ }
+
+ //-------------------------------------------------------------------------
sal_Int32 OInteractionHandler::getContinuation(Continuation _eCont, const Sequence< Reference< XInteractionContinuation > >& _rContinuations)
{
const Reference< XInteractionContinuation >* pContinuations = _rContinuations.getConstArray();