diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-18 10:10:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-11-18 09:25:06 +0000 |
commit | 0a840edcc19ad1b8bb1525717d91ce8ade0c0092 (patch) | |
tree | 7b868933b54e3e763bf294b463abd302be26fb4f /salhelper/qa | |
parent | 3ab9cebf45e725bbd3d7828dbcf974d3bef2c32c (diff) |
includes should be at the top of the file
not randomly scattered through the code
found with something like:
git ls-files *.cpp | xargs grep -Pzl "(?s){.*#include"
Change-Id: I9c242fa4ef99e8677f2800d7ec9f16d16e488351
Reviewed-on: https://gerrit.libreoffice.org/30952
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'salhelper/qa')
-rw-r--r-- | salhelper/qa/test_api.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/salhelper/qa/test_api.cxx b/salhelper/qa/test_api.cxx index 33a3c9400cba..20626d9f12eb 100644 --- a/salhelper/qa/test_api.cxx +++ b/salhelper/qa/test_api.cxx @@ -21,6 +21,15 @@ #include <typeinfo> +#include "osl/mutex.hxx" +#include "salhelper/condition.hxx" +#include "salhelper/dynload.hxx" +#include "salhelper/simplereferenceobject.hxx" +#include <cppunit/TestFixture.h> +#include <cppunit/extensions/HelperMacros.h> +#include <cppunit/plugin/TestPlugIn.h> +#include <memory> + namespace salhelper { class Condition; class ConditionModifier; @@ -48,15 +57,6 @@ std::type_info const & getSimpleReferenceObjectTypeInfo() } -#include "osl/mutex.hxx" -#include "salhelper/condition.hxx" -#include "salhelper/dynload.hxx" -#include "salhelper/simplereferenceobject.hxx" -#include <cppunit/TestFixture.h> -#include <cppunit/extensions/HelperMacros.h> -#include <cppunit/plugin/TestPlugIn.h> -#include <memory> - namespace { class DerivedCondition: public salhelper::Condition { |