summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:29:33 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-18 12:28:35 +0100
commit25e14502fdeac6c03dfed125d789b2822f488cfe (patch)
treec1527c361b0f07ecb66a984ad5d0aad7b8ccde5f /xmlscript
parentc4286f91f2d8dce8d42bad2dda85c13658d5e0b9 (diff)
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+LibreOffice@googlemail.com>
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/inc/xml_import.hxx10
-rw-r--r--xmlscript/source/xmldlg_imexp/common.hxx14
2 files changed, 8 insertions, 16 deletions
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: */