summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-07-09 18:00:33 +0200
committerMichael Stahl <mstahl@redhat.com>2015-07-10 23:25:22 +0200
commit7aa9f045387a95d0b1a516f917fbcd23e0578902 (patch)
tree4ca3f1d4d9240a7236ac89cd5ab374c149f7c4d8 /oox
parent2302a5ae5625c2ed3a5e7286940d32c7c176d1d2 (diff)
do not include boost/utility.hpp
It just includes a bunch of other boost headers; mostly we need boost/noncopyable.hpp so include that directly. This eliminates 831 MB(!) of boost/preprocessor/seq/fold_left.hpp completely, which is the 2nd biggest header after ustring.hxx. Change-Id: I3df55770adcb46e56f389af828e8ba80da2dc1f2
Diffstat (limited to 'oox')
-rw-r--r--oox/inc/pch/precompiled_oox.hxx2
-rw-r--r--oox/source/drawingml/fillproperties.cxx5
2 files changed, 4 insertions, 3 deletions
diff --git a/oox/inc/pch/precompiled_oox.hxx b/oox/inc/pch/precompiled_oox.hxx
index 46d61abf07d3..990b6863bc60 100644
--- a/oox/inc/pch/precompiled_oox.hxx
+++ b/oox/inc/pch/precompiled_oox.hxx
@@ -35,7 +35,7 @@
#include <boost/noncopyable.hpp>
#include <boost/optional.hpp>
#include <boost/scoped_ptr.hpp>
-#include <boost/utility.hpp>
+#include <boost/noncopyable.hpp>
#include <cassert>
#include <com/sun/star/animations/AnimationCalcMode.hpp>
#include <com/sun/star/animations/AnimationColorSpace.hpp>
diff --git a/oox/source/drawingml/fillproperties.cxx b/oox/source/drawingml/fillproperties.cxx
index 2c0d40f0ccd9..1302a07e2a8c 100644
--- a/oox/source/drawingml/fillproperties.cxx
+++ b/oox/source/drawingml/fillproperties.cxx
@@ -17,10 +17,11 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <oox/drawingml/fillproperties.hxx>
+
#include <iterator>
-#include <boost/utility.hpp>
+#include <boost/next_prior.hpp>
-#include <oox/drawingml/fillproperties.hxx>
#include <drawingml/graphicproperties.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>