summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-26 15:50:51 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-26 17:21:46 +0100
commitcec22e4510bb0a196717cf5a68a405c0c34ec295 (patch)
treed37710fc6e43ac69174b56043fe7629ef45d74d3 /connectivity
parent0fd8f9808435f1eedf7065964eb09e69501975c3 (diff)
Do not needlessly include jvmaccess/virtualmachine.hxx in header
Change-Id: Ieb1564eb7b477a7b239b07347f46fc55b64bd92b
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/inc/connectivity/CommonTools.hxx3
-rw-r--r--connectivity/inc/connectivity/FValue.hxx1
-rw-r--r--connectivity/source/commontools/CommonTools.cxx1
3 files changed, 4 insertions, 1 deletions
diff --git a/connectivity/inc/connectivity/CommonTools.hxx b/connectivity/inc/connectivity/CommonTools.hxx
index f562d6720a57..fa7ab752e32d 100644
--- a/connectivity/inc/connectivity/CommonTools.hxx
+++ b/connectivity/inc/connectivity/CommonTools.hxx
@@ -19,6 +19,7 @@
#ifndef _CONNECTIVITY_COMMONTOOLS_HXX_
#define _CONNECTIVITY_COMMONTOOLS_HXX_
+#include <rtl/ref.hxx>
#include <rtl/ustring.hxx>
#include <com/sun/star/lang/DisposedException.hpp>
#include <com/sun/star/uno/Any.hxx>
@@ -30,7 +31,6 @@
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/sdbcx/XColumnsSupplier.hpp>
#include <osl/interlck.h>
-#include <jvmaccess/virtualmachine.hxx>
#include <com/sun/star/uno/XComponentContext.hpp>
#include "connectivity/dbtoolsdllapi.hxx"
@@ -40,6 +40,7 @@ namespace com { namespace sun { namespace star { namespace util {
struct Time;
}
}}}
+namespace jvmaccess { class VirtualMachine; }
namespace connectivity
{
diff --git a/connectivity/inc/connectivity/FValue.hxx b/connectivity/inc/connectivity/FValue.hxx
index 02b4a4ba390b..b425fe079f3b 100644
--- a/connectivity/inc/connectivity/FValue.hxx
+++ b/connectivity/inc/connectivity/FValue.hxx
@@ -23,6 +23,7 @@
#include <com/sun/star/sdbc/DataType.hpp>
#include <com/sun/star/uno/Any.hxx>
#include <rtl/ustring.hxx>
+#include <salhelper/simplereferenceobject.hxx>
#include <osl/diagnose.h>
#include <comphelper/stl_types.hxx>
#include <rtl/ref.hxx>
diff --git a/connectivity/source/commontools/CommonTools.cxx b/connectivity/source/commontools/CommonTools.cxx
index 918193402ba7..75015c7b564f 100644
--- a/connectivity/source/commontools/CommonTools.cxx
+++ b/connectivity/source/commontools/CommonTools.cxx
@@ -31,6 +31,7 @@
#include "TConnection.hxx"
#include <comphelper/types.hxx>
#include <com/sun/star/java/JavaVirtualMachine.hpp>
+#include <jvmaccess/virtualmachine.hxx>
#include <rtl/process.h>
using namespace ::comphelper;