diff options
author | Noel Grandin <noel@peralex.com> | 2016-06-29 14:46:39 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-06-29 14:49:19 +0000 |
commit | 42486dde49d9a9494c1f4889bbccde1f5aecd91e (patch) | |
tree | 8939d9e9f182ab9483775c4c6b84e85bb2208dde /svx/source/unodraw/unoshap2.cxx | |
parent | d5b05cafdec62209803e38010b3354660e3e67cd (diff) |
move #includes to top of file
instead of being randomly embedded somewhere deep inside the CXX code.
Found with:
git grep -nP '^#include' -- *.cxx | sort -g -k 2 -t :
Change-Id: I9ee432d3b665ecb6ec600bd51cc4b735a1b1127a
Reviewed-on: https://gerrit.libreoffice.org/26764
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source/unodraw/unoshap2.cxx')
-rw-r--r-- | svx/source/unodraw/unoshap2.cxx | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/svx/source/unodraw/unoshap2.cxx b/svx/source/unodraw/unoshap2.cxx index aa2a737719c2..9ba87e7811d0 100644 --- a/svx/source/unodraw/unoshap2.cxx +++ b/svx/source/unodraw/unoshap2.cxx @@ -34,6 +34,8 @@ #include <osl/mutex.hxx> #include <vcl/fltcall.hxx> #include <vcl/graphicfilter.hxx> +#include <vcl/wmf.hxx> +#include <vcl/cvtgrf.hxx> #include <svx/svdpool.hxx> @@ -49,14 +51,20 @@ #include <svx/svdoashp.hxx> #include "svx/svdviter.hxx" #include <svx/svdview.hxx> +#include <svx/svdopath.hxx> #include <basegfx/matrix/b2dhommatrix.hxx> #include <basegfx/polygon/b2dpolygon.hxx> #include <basegfx/point/b2dpoint.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> #include <basegfx/tools/unotools.hxx> - #include <comphelper/servicehelper.hxx> -#include <vcl/wmf.hxx> +#include <com/sun/star/awt/XBitmap.hpp> +#include <svx/svdograf.hxx> +#include <sfx2/docfile.hxx> +#include <sfx2/app.hxx> +#include <sfx2/fcontnr.hxx> +#include <toolkit/helper/vclunohelper.hxx> + #include <memory> @@ -1004,7 +1012,6 @@ uno::Sequence< OUString > SAL_CALL SvxShapeCircle::getSupportedServiceNames() th { return SvxShapeText::getSupportedServiceNames(); } -#include <svx/svdopath.hxx> SvxShapePolyPolygon::SvxShapePolyPolygon( SdrObject* pObj , drawing::PolygonKind eNew ) @@ -1386,16 +1393,6 @@ uno::Sequence< OUString > SAL_CALL SvxShapePolyPolygonBezier::getSupportedServic return SvxShapeText::getSupportedServiceNames(); } -#include <com/sun/star/awt/XBitmap.hpp> -#include <vcl/cvtgrf.hxx> -#include <svx/svdograf.hxx> -#include <sfx2/docfile.hxx> -#include <sfx2/app.hxx> -#include <sfx2/fcontnr.hxx> - -#include <toolkit/helper/vclunohelper.hxx> - - SvxGraphicObject::SvxGraphicObject( SdrObject* pObj, OUString const & referer ) throw() : SvxShapeText( pObj, getSvxMapProvider().GetMap(SVXMAP_GRAPHICOBJECT), getSvxMapProvider().GetPropertySet(SVXMAP_GRAPHICOBJECT, SdrObject::GetGlobalDrawObjectItemPool()) ), referer_(referer) { |