summaryrefslogtreecommitdiff
path: root/connectivity/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-01-16 15:16:05 +0200
committerNoel Grandin <noel@peralex.com>2013-02-11 08:02:10 +0200
commit9a36294079a13d713490ed754be441d9dbc214ce (patch)
tree6bd7c23e2cdfba1d03dedf689646e67bae0cca54 /connectivity/inc
parent7841fd1536e018defaf9cbeb283cb82b687f95e1 (diff)
fdo#46808, Adapt java::JavaVirtualMachine UNO service to new style
Change-Id: Ib0329b9cdc4290ce98c4182e8466c1b44b408341
Diffstat (limited to 'connectivity/inc')
-rw-r--r--connectivity/inc/connectivity/CommonTools.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/inc/connectivity/CommonTools.hxx b/connectivity/inc/connectivity/CommonTools.hxx
index 6a1dfc9de9ad..f562d6720a57 100644
--- a/connectivity/inc/connectivity/CommonTools.hxx
+++ b/connectivity/inc/connectivity/CommonTools.hxx
@@ -31,7 +31,7 @@
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
#include <osl/interlck.h>
#include <jvmaccess/virtualmachine.hxx>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#include <com/sun/star/uno/XComponentContext.hpp>
#include "connectivity/dbtoolsdllapi.hxx"
namespace com { namespace sun { namespace star { namespace util {
@@ -158,12 +158,12 @@ namespace connectivity
/** creates a java virtual machine
- @param _rxFactory
+ @param _rxContext
The ORB.
@return
The JavaVM.
*/
- OOO_DLLPUBLIC_DBTOOLS ::rtl::Reference< jvmaccess::VirtualMachine > getJavaVM(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory);
+ OOO_DLLPUBLIC_DBTOOLS ::rtl::Reference< jvmaccess::VirtualMachine > getJavaVM(const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& _rxContext);
/** return <TRUE/> if the java class exists, otherwise <FALSE/>.
@param _pJVM