From af1174b2dea72359e8eb0e15297c61cf82571250 Mon Sep 17 00:00:00 2001 From: Jorenz Paragas Date: Sat, 30 Apr 2016 00:06:53 -0700 Subject: tdf#42949: clean up includes in include/oox/drawingml with iwyu Add includes in other files to fix compiler errors. Change-Id: I566e2e081094cb074d20afbe7ceee49f759c725b Reviewed-on: https://gerrit.libreoffice.org/24510 Tested-by: Jenkins Reviewed-by: Michael Stahl --- oox/source/drawingml/chart/axiscontext.cxx | 1 + oox/source/drawingml/chart/chartdrawingfragment.cxx | 2 ++ oox/source/drawingml/chart/chartspacefragment.cxx | 1 + oox/source/drawingml/chart/plotareacontext.cxx | 1 + oox/source/drawingml/chart/plotareaconverter.cxx | 1 + oox/source/drawingml/chart/seriescontext.cxx | 1 + oox/source/drawingml/chart/seriesconverter.cxx | 1 + oox/source/drawingml/chart/titlecontext.cxx | 1 + oox/source/drawingml/chart/typegroupcontext.cxx | 1 + oox/source/drawingml/chart/typegroupconverter.cxx | 1 + oox/source/drawingml/clrscheme.cxx | 2 ++ oox/source/drawingml/drawingmltypes.cxx | 2 ++ oox/source/ppt/dgmimport.cxx | 1 + oox/source/ppt/dgmlayout.cxx | 1 + oox/source/ppt/pptshapegroupcontext.cxx | 1 + oox/source/ppt/slidepersist.cxx | 1 + oox/source/shape/LockedCanvasContext.cxx | 1 + oox/source/shape/ShapeContextHandler.cxx | 2 ++ oox/source/shape/WpsContext.cxx | 1 + 19 files changed, 23 insertions(+) (limited to 'oox') diff --git a/oox/source/drawingml/chart/axiscontext.cxx b/oox/source/drawingml/chart/axiscontext.cxx index 7cb89b14ffcf..9fad1902ea2f 100644 --- a/oox/source/drawingml/chart/axiscontext.cxx +++ b/oox/source/drawingml/chart/axiscontext.cxx @@ -23,6 +23,7 @@ #include "drawingml/textbodycontext.hxx" #include "drawingml/chart/axismodel.hxx" #include "drawingml/chart/titlecontext.hxx" +#include #include namespace oox { diff --git a/oox/source/drawingml/chart/chartdrawingfragment.cxx b/oox/source/drawingml/chart/chartdrawingfragment.cxx index 693432fc1a7b..de8d3f2303bf 100644 --- a/oox/source/drawingml/chart/chartdrawingfragment.cxx +++ b/oox/source/drawingml/chart/chartdrawingfragment.cxx @@ -21,6 +21,8 @@ #include +#include +#include #include "oox/core/xmlfilterbase.hxx" #include "oox/drawingml/connectorshapecontext.hxx" #include "oox/drawingml/graphicshapecontext.hxx" diff --git a/oox/source/drawingml/chart/chartspacefragment.cxx b/oox/source/drawingml/chart/chartspacefragment.cxx index 3fe231036721..8bb1a4c4d78d 100644 --- a/oox/source/drawingml/chart/chartspacefragment.cxx +++ b/oox/source/drawingml/chart/chartspacefragment.cxx @@ -24,6 +24,7 @@ #include "drawingml/chart/chartspacemodel.hxx" #include "drawingml/chart/plotareacontext.hxx" #include "drawingml/chart/titlecontext.hxx" +#include #include #include diff --git a/oox/source/drawingml/chart/plotareacontext.cxx b/oox/source/drawingml/chart/plotareacontext.cxx index 05c843045383..f941729098d9 100644 --- a/oox/source/drawingml/chart/plotareacontext.cxx +++ b/oox/source/drawingml/chart/plotareacontext.cxx @@ -25,6 +25,7 @@ #include "drawingml/chart/seriescontext.hxx" #include "drawingml/chart/titlecontext.hxx" #include "drawingml/chart/typegroupcontext.hxx" +#include #include #include #include diff --git a/oox/source/drawingml/chart/plotareaconverter.cxx b/oox/source/drawingml/chart/plotareaconverter.cxx index 5c449ad3ad1a..f55ef9bffc66 100644 --- a/oox/source/drawingml/chart/plotareaconverter.cxx +++ b/oox/source/drawingml/chart/plotareaconverter.cxx @@ -31,6 +31,7 @@ #include "drawingml/chart/axisconverter.hxx" #include "drawingml/chart/plotareamodel.hxx" #include "drawingml/chart/typegroupconverter.hxx" +#include #include #include diff --git a/oox/source/drawingml/chart/seriescontext.cxx b/oox/source/drawingml/chart/seriescontext.cxx index 5e309a5dc75d..56efbe260476 100644 --- a/oox/source/drawingml/chart/seriescontext.cxx +++ b/oox/source/drawingml/chart/seriescontext.cxx @@ -24,6 +24,7 @@ #include "drawingml/chart/datasourcecontext.hxx" #include "drawingml/chart/seriesmodel.hxx" #include "drawingml/chart/titlecontext.hxx" +#include #include #include #include diff --git a/oox/source/drawingml/chart/seriesconverter.cxx b/oox/source/drawingml/chart/seriesconverter.cxx index a36e68d4bdfb..4682f5d9b845 100644 --- a/oox/source/drawingml/chart/seriesconverter.cxx +++ b/oox/source/drawingml/chart/seriesconverter.cxx @@ -34,6 +34,7 @@ #include "drawingml/chart/titleconverter.hxx" #include "drawingml/chart/typegroupconverter.hxx" #include "drawingml/chart/typegroupmodel.hxx" +#include #include "oox/helper/containerhelper.hxx" #include #include diff --git a/oox/source/drawingml/chart/titlecontext.cxx b/oox/source/drawingml/chart/titlecontext.cxx index e4f22a9a16dc..6064178a80d2 100644 --- a/oox/source/drawingml/chart/titlecontext.cxx +++ b/oox/source/drawingml/chart/titlecontext.cxx @@ -23,6 +23,7 @@ #include "drawingml/textbodycontext.hxx" #include "drawingml/chart/datasourcecontext.hxx" #include "drawingml/chart/titlemodel.hxx" +#include #include #include #include diff --git a/oox/source/drawingml/chart/typegroupcontext.cxx b/oox/source/drawingml/chart/typegroupcontext.cxx index 77f5c856da0e..20c84f64a0b8 100644 --- a/oox/source/drawingml/chart/typegroupcontext.cxx +++ b/oox/source/drawingml/chart/typegroupcontext.cxx @@ -21,6 +21,7 @@ #include "drawingml/chart/seriescontext.hxx" #include "drawingml/chart/typegroupmodel.hxx" +#include #include #include diff --git a/oox/source/drawingml/chart/typegroupconverter.cxx b/oox/source/drawingml/chart/typegroupconverter.cxx index 78079e92a86a..b9f95d1cb7ef 100644 --- a/oox/source/drawingml/chart/typegroupconverter.cxx +++ b/oox/source/drawingml/chart/typegroupconverter.cxx @@ -37,6 +37,7 @@ #include "oox/drawingml/lineproperties.hxx" #include "drawingml/chart/seriesconverter.hxx" #include "drawingml/chart/typegroupmodel.hxx" +#include #include "oox/helper/containerhelper.hxx" #include #include diff --git a/oox/source/drawingml/clrscheme.cxx b/oox/source/drawingml/clrscheme.cxx index 176fd82d71c9..2f8e93701e97 100644 --- a/oox/source/drawingml/clrscheme.cxx +++ b/oox/source/drawingml/clrscheme.cxx @@ -17,6 +17,8 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include + #include #include "oox/drawingml/clrscheme.hxx" #include "oox/token/tokens.hxx" diff --git a/oox/source/drawingml/drawingmltypes.cxx b/oox/source/drawingml/drawingmltypes.cxx index b25b94fd6705..288749b7358c 100644 --- a/oox/source/drawingml/drawingmltypes.cxx +++ b/oox/source/drawingml/drawingmltypes.cxx @@ -20,8 +20,10 @@ #include "oox/drawingml/drawingmltypes.hxx" #include #include +#include #include #include +#include #include #include #include "oox/token/tokens.hxx" diff --git a/oox/source/ppt/dgmimport.cxx b/oox/source/ppt/dgmimport.cxx index e841d3cdb10b..5f6625da8132 100644 --- a/oox/source/ppt/dgmimport.cxx +++ b/oox/source/ppt/dgmimport.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include #include "oox/ppt/dgmimport.hxx" #include "oox/drawingml/theme.hxx" #include "drawingml/diagram/diagram.hxx" diff --git a/oox/source/ppt/dgmlayout.cxx b/oox/source/ppt/dgmlayout.cxx index acf79794d4f7..24e3451ad4f3 100644 --- a/oox/source/ppt/dgmlayout.cxx +++ b/oox/source/ppt/dgmlayout.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include #include "oox/ppt/dgmlayout.hxx" #include "oox/drawingml/theme.hxx" #include "oox/drawingml/themefragmenthandler.hxx" diff --git a/oox/source/ppt/pptshapegroupcontext.cxx b/oox/source/ppt/pptshapegroupcontext.cxx index b2acee7e84bb..0c2beb181cc0 100644 --- a/oox/source/ppt/pptshapegroupcontext.cxx +++ b/oox/source/ppt/pptshapegroupcontext.cxx @@ -22,6 +22,7 @@ #include #include +#include #include "oox/helper/attributelist.hxx" #include "oox/ppt/pptshape.hxx" #include "oox/ppt/pptgraphicshapecontext.hxx" diff --git a/oox/source/ppt/slidepersist.cxx b/oox/source/ppt/slidepersist.cxx index 574892aca6f7..eaee10d121b3 100644 --- a/oox/source/ppt/slidepersist.cxx +++ b/oox/source/ppt/slidepersist.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include #include "oox/ppt/timenode.hxx" #include "oox/ppt/pptshape.hxx" #include "oox/ppt/slidepersist.hxx" diff --git a/oox/source/shape/LockedCanvasContext.cxx b/oox/source/shape/LockedCanvasContext.cxx index 93e5716c1ec5..e6f128fd8f3b 100644 --- a/oox/source/shape/LockedCanvasContext.cxx +++ b/oox/source/shape/LockedCanvasContext.cxx @@ -8,6 +8,7 @@ */ #include "LockedCanvasContext.hxx" +#include #include #include #include diff --git a/oox/source/shape/ShapeContextHandler.cxx b/oox/source/shape/ShapeContextHandler.cxx index 3613baf3ff25..763807107dda 100644 --- a/oox/source/shape/ShapeContextHandler.cxx +++ b/oox/source/shape/ShapeContextHandler.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include #include #include "ShapeContextHandler.hxx" @@ -25,6 +26,7 @@ #include "WpsContext.hxx" #include "WpgContext.hxx" #include "services.hxx" +#include #include "oox/vml/vmldrawingfragment.hxx" #include "oox/vml/vmlshape.hxx" #include diff --git a/oox/source/shape/WpsContext.cxx b/oox/source/shape/WpsContext.cxx index 738f2e10251a..15a102200ae3 100644 --- a/oox/source/shape/WpsContext.cxx +++ b/oox/source/shape/WpsContext.cxx @@ -8,6 +8,7 @@ */ #include "WpsContext.hxx" +#include #include #include #include -- cgit