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

Stephan Bergmann sbergman at redhat.com
Wed Oct 22 04:15:12 PDT 2014


 cui/source/options/personalization.cxx |    1 +
 include/vcl/builder.hxx                |    2 +-
 vcl/source/window/builder.cxx          |    1 +
 vcl/source/window/window.cxx           |    2 +-
 4 files changed, 4 insertions(+), 2 deletions(-)

New commits:
commit f5fc81616ccf45edd180cfb8c7002eb50284f90d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Oct 22 13:14:43 2014 +0200

    Avoid unnecessary #include
    
    Change-Id: I6ec5de40ce2f4cbcce751dcae16dae60abbc1a37

diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx
index 5f02689..5399dab 100644
--- a/cui/source/options/personalization.cxx
+++ b/cui/source/options/personalization.cxx
@@ -18,6 +18,7 @@
 #include <com/sun/star/beans/XPropertySet.hpp>
 #include <osl/file.hxx>
 #include <rtl/bootstrap.hxx>
+#include <rtl/strbuf.hxx>
 #include <tools/urlobj.hxx>
 #include <vcl/edit.hxx>
 #include <vcl/msgbox.hxx>
diff --git a/include/vcl/builder.hxx b/include/vcl/builder.hxx
index c314134..9d952c0 100644
--- a/include/vcl/builder.hxx
+++ b/include/vcl/builder.hxx
@@ -16,7 +16,6 @@
 #include <tools/fldunit.hxx>
 #include <vcl/dllapi.h>
 #include <vcl/window.hxx>
-#include <xmlreader/xmlreader.hxx>
 #include <map>
 #include <set>
 #include <stack>
@@ -39,6 +38,7 @@ class DateField;
 class TimeField;
 class VclExpander;
 class VclMultiLineEdit;
+namespace xmlreader { class XmlReader; }
 
 class VCL_DLLPUBLIC VclBuilder: private boost::noncopyable
 {
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index e534e41..e1e70c6 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -45,6 +45,7 @@
 #include <svdata.hxx>
 #include <svids.hrc>
 #include <window.h>
+#include <xmlreader/xmlreader.hxx>
 
 using namespace com::sun::star;
 
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index f773bc2..8c1fe90 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -18,7 +18,7 @@
  */
 
 #include <config_features.h>
-
+#include <rtl/strbuf.hxx>
 #include <tools/rc.h>
 
 #include <sal/types.h>


More information about the Libreoffice-commits mailing list