[Libreoffice-commits] core.git: vcl/source

Tor Lillqvist tml at iki.fi
Fri Mar 22 08:55:11 PDT 2013


 vcl/source/window/syschild.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit a4b4942ff6d79394a3120cd1c55eb21a10769a30
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri Mar 22 17:53:09 2013 +0200

    Don't include Java-related headers when they aren't needed
    
    Change-Id: Ia971f98c904b69ce126a03d4737833b8e9e57369

diff --git a/vcl/source/window/syschild.cxx b/vcl/source/window/syschild.cxx
index fee36d4..93086e9 100644
--- a/vcl/source/window/syschild.cxx
+++ b/vcl/source/window/syschild.cxx
@@ -42,9 +42,12 @@
 #endif
 
 #include <comphelper/processfactory.hxx>
+
+#ifdef SOLAR_JAVA
 #include <jvmaccess/virtualmachine.hxx>
 #include <com/sun/star/java/JavaVirtualMachine.hpp>
 #include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#endif
 
 using namespace ::com::sun::star;
 


More information about the Libreoffice-commits mailing list