diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2023-09-10 18:46:44 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-09-10 20:43:05 +0200 |
commit | e23d2be0ce41ea0a1f6d3d58d626a546c25cb516 (patch) | |
tree | 5a7704f14398859252a666dd607d47af6040705b /sax/source | |
parent | 76ea287c040dcfc2fe71b0588e1701cfe1ae6940 (diff) |
using decls should come after #include
Change-Id: I058551e87bca42adede860f6f299b0f7ae2af3b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156798
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sax/source')
-rw-r--r-- | sax/source/expatwrap/sax_expat.cxx | 2 | ||||
-rw-r--r-- | sax/source/expatwrap/saxwriter.cxx | 4 | ||||
-rw-r--r-- | sax/source/expatwrap/xml2utf.cxx | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sax/source/expatwrap/sax_expat.cxx b/sax/source/expatwrap/sax_expat.cxx index d6d63fb654bd..9a82b8703644 100644 --- a/sax/source/expatwrap/sax_expat.cxx +++ b/sax/source/expatwrap/sax_expat.cxx @@ -44,6 +44,7 @@ #include <sal/log.hxx> #include <expat.h> +#include <xml2utf.hxx> using namespace ::osl; using namespace ::cppu; @@ -51,7 +52,6 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::xml::sax; using namespace ::com::sun::star::io; -#include <xml2utf.hxx> namespace { diff --git a/sax/source/expatwrap/saxwriter.cxx b/sax/source/expatwrap/saxwriter.cxx index 3b75255ee9ef..180126684ea1 100644 --- a/sax/source/expatwrap/saxwriter.cxx +++ b/sax/source/expatwrap/saxwriter.cxx @@ -41,6 +41,8 @@ #include <rtl/character.hxx> #include <sal/log.hxx> +#include <memory> + using namespace ::osl; using namespace ::cppu; using namespace ::com::sun::star::uno; @@ -49,8 +51,6 @@ using namespace ::com::sun::star::xml::sax; using namespace ::com::sun::star::util; using namespace ::com::sun::star::io; -#include <memory> - #define LINEFEED 10 #define SEQUENCESIZE 1024 #define MAXCOLUMNCOUNT 72 diff --git a/sax/source/expatwrap/xml2utf.cxx b/sax/source/expatwrap/xml2utf.cxx index 1f044571d53d..7cbf24d0d3d8 100644 --- a/sax/source/expatwrap/xml2utf.cxx +++ b/sax/source/expatwrap/xml2utf.cxx @@ -26,14 +26,14 @@ #include <rtl/tencinfo.h> #include <com/sun/star/io/NotConnectedException.hpp> #include <com/sun/star/io/XInputStream.hpp> +#include <xml2utf.hxx> +#include <memory> + using namespace ::com::sun::star::uno; using namespace ::com::sun::star::io; -#include <xml2utf.hxx> -#include <memory> - namespace sax_expatwrap { sal_Int32 XMLFile2UTFConverter::readAndConvert( Sequence<sal_Int8> &seq , sal_Int32 nMaxToRead ) |