[Libreoffice-commits] core.git: include/svl svl/source sw/inc

Kohei Yoshida kohei.yoshida at collabora.com
Tue Dec 2 10:14:17 PST 2014


 include/svl/itempool.hxx      |    2 --
 svl/source/items/itempool.cxx |    4 +++-
 sw/inc/hints.hxx              |    1 +
 3 files changed, 4 insertions(+), 3 deletions(-)

New commits:
commit 502331f2891bdd40c7d63afebbbbe7d69abff633
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Tue Dec 2 13:10:00 2014 -0500

    Remove unused header includes from public header.
    
    Change-Id: Ie9d42f15e2881f1f4bb78147d0250a174d9542c1

diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx
index 0f1c4f3..9f1ffbc 100644
--- a/include/svl/itempool.hxx
+++ b/include/svl/itempool.hxx
@@ -20,12 +20,10 @@
 #ifndef INCLUDED_SVL_ITEMPOOL_HXX
 #define INCLUDED_SVL_ITEMPOOL_HXX
 
-#include <limits.h>
 #include <rtl/string.hxx>
 #include <svl/poolitem.hxx>
 #include <svl/svldllapi.h>
 #include <tools/solar.h>
-#include <vector>
 
 class SvStream;
 class SfxBroadcaster;
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index 2cfcb31..6157961 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -17,17 +17,19 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
  */
 
+#include <svl/itempool.hxx>
 
 #include <string.h>
 #include <stdio.h>
 
-#include <svl/itempool.hxx>
 #include <osl/diagnose.h>
 #include "whassert.hxx"
 #include <svl/SfxBroadcaster.hxx>
 #include <svl/smplhint.hxx>
 #include "poolio.hxx"
 
+#include <vector>
+
 
 #if OSL_DEBUG_LEVEL > 0
 #include <map>
diff --git a/sw/inc/hints.hxx b/sw/inc/hints.hxx
index bf6b5f9..3e65945 100644
--- a/sw/inc/hints.hxx
+++ b/sw/inc/hints.hxx
@@ -20,6 +20,7 @@
 #define INCLUDED_SW_INC_HINTS_HXX
 
 #include <swatrset.hxx>
+#include <vector>
 
 class SwFmt;
 class OutputDevice;


More information about the Libreoffice-commits mailing list