solenv/clang-format/excludelist | 2 -- xmlscript/source/inc/xml_import.hxx | 10 ++-------- xmlscript/source/xmldlg_imexp/common.hxx | 14 ++++++-------- 3 files changed, 8 insertions(+), 18 deletions(-)
New commits: commit 25e14502fdeac6c03dfed125d789b2822f488cfe Author: Philipp Hofer <philipp.ho...@protonmail.com> AuthorDate: Thu Nov 12 13:29:33 2020 +0100 Commit: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> CommitDate: Wed Nov 18 12:28:35 2020 +0100 tdf#123936 Formatting files in module xmlscript with clang-format Change-Id: Icf80c9d282d31c5513daf38c81802988e4fe300b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105733 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+libreoff...@googlemail.com> diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist index b1ed3d35e339..fa01006ff459 100644 --- a/solenv/clang-format/excludelist +++ b/solenv/clang-format/excludelist @@ -17782,11 +17782,9 @@ xmlreader/source/pad.cxx xmlreader/source/span.cxx xmlreader/source/xmlreader.cxx xmlscript/source/inc/misc.hxx -xmlscript/source/inc/xml_import.hxx xmlscript/source/xml_helper/xml_byteseq.cxx xmlscript/source/xml_helper/xml_element.cxx xmlscript/source/xml_helper/xml_impctx.cxx -xmlscript/source/xmldlg_imexp/common.hxx xmlscript/source/xmldlg_imexp/exp_share.hxx xmlscript/source/xmldlg_imexp/imp_share.hxx xmlscript/source/xmldlg_imexp/xmldlg_addfunc.cxx diff --git a/xmlscript/source/inc/xml_import.hxx b/xmlscript/source/inc/xml_import.hxx index d4a2a4839890..913634738a47 100644 --- a/xmlscript/source/inc/xml_import.hxx +++ b/xmlscript/source/inc/xml_import.hxx @@ -23,8 +23,6 @@ namespace xmlscript { - - // IMPORTING /** Creates a document handler to be used for SAX1 parser that can handle @@ -39,12 +37,8 @@ namespace xmlscript @return document handler for parser */ -css::uno::Reference< css::xml::sax::XDocumentHandler > -createDocumentHandler( - css::uno::Reference< - css::xml::input::XRoot > const & xRoot ); - +css::uno::Reference<css::xml::sax::XDocumentHandler> +createDocumentHandler(css::uno::Reference<css::xml::input::XRoot> const& xRoot); } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmlscript/source/xmldlg_imexp/common.hxx b/xmlscript/source/xmldlg_imexp/common.hxx index ef2358f3c402..88b32b0a4889 100644 --- a/xmlscript/source/xmldlg_imexp/common.hxx +++ b/xmlscript/source/xmldlg_imexp/common.hxx @@ -21,8 +21,8 @@ #include <sal/types.h> -namespace xmlscript { - +namespace xmlscript +{ const sal_Int16 BORDER_NONE = 0; const sal_Int16 BORDER_3D = 1; const sal_Int16 BORDER_SIMPLE = 2; @@ -30,14 +30,12 @@ const sal_Int16 BORDER_SIMPLE_COLOR = 3; struct StringTriple { - char const * first; - char const * second; - char const * third; + char const* first; + char const* second; + char const* third; }; -extern StringTriple const * const g_pEventTranslations; - +extern StringTriple const* const g_pEventTranslations; } - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits