summaryrefslogtreecommitdiff
path: root/sw/source/filter/html
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:21:51 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-19 01:33:36 +0100
commit695280feb90729fde1a7ecf1c409ae16f8281a46 (patch)
tree5591cb26f9546599b573ba49427b13bc5332b86f /sw/source/filter/html
parenta930f12c30f31d306ba60c5344cd8308d9fa4ee1 (diff)
tdf#123936 Formatting files in module sw with clang-format
Change-Id: I6243bc95129bf81a124d006ce0fc1aa1b5f618bb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105718 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
Diffstat (limited to 'sw/source/filter/html')
-rw-r--r--sw/source/filter/html/css1atr.hxx3
-rw-r--r--sw/source/filter/html/css1kywd.hxx1
-rw-r--r--sw/source/filter/html/htmlfld.hxx1
-rw-r--r--sw/source/filter/html/htmlform.hxx8
-rw-r--r--sw/source/filter/html/htmlnum.cxx9
5 files changed, 9 insertions, 13 deletions
diff --git a/sw/source/filter/html/css1atr.hxx b/sw/source/filter/html/css1atr.hxx
index ea07dec5cf30..c5e394e18f89 100644
--- a/sw/source/filter/html/css1atr.hxx
+++ b/sw/source/filter/html/css1atr.hxx
@@ -20,8 +20,7 @@
#ifndef INCLUDED_SW_SOURCE_FILTER_HTML_CSS1ATR_HXX
#define INCLUDED_SW_SOURCE_FILTER_HTML_CSS1ATR_HXX
-bool swhtml_css1atr_equalFontItems( const SfxPoolItem& r1, const SfxPoolItem& r2 );
-
+bool swhtml_css1atr_equalFontItems(const SfxPoolItem& r1, const SfxPoolItem& r2);
#endif
diff --git a/sw/source/filter/html/css1kywd.hxx b/sw/source/filter/html/css1kywd.hxx
index eee703adce66..47be061d9de6 100644
--- a/sw/source/filter/html/css1kywd.hxx
+++ b/sw/source/filter/html/css1kywd.hxx
@@ -205,7 +205,6 @@ extern const char* const sCSS1_PV_landscape;
//extern const char* const sCSS1_PV_crop;
//extern const char* const sCSS1_PV_cross;
-
extern const char* const sCSS1_P_so_language;
extern const char* const sCSS1_P_direction;
extern const char* const sCSS1_PV_ltr;
diff --git a/sw/source/filter/html/htmlfld.hxx b/sw/source/filter/html/htmlfld.hxx
index 36cfc9e07ca5..80c50959e598 100644
--- a/sw/source/filter/html/htmlfld.hxx
+++ b/sw/source/filter/html/htmlfld.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SW_SOURCE_FILTER_HTML_HTMLFLD_HXX
#define INCLUDED_SW_SOURCE_FILTER_HTML_HTMLFLD_HXX
-
#define OOO_STRING_SW_HTML_FT_author "AUTHOR"
#define OOO_STRING_SW_HTML_FT_sender "SENDER"
#define OOO_STRING_SW_HTML_FT_datetime "DATETIME"
diff --git a/sw/source/filter/html/htmlform.hxx b/sw/source/filter/html/htmlform.hxx
index 5564a7d29315..0a3f02db47d1 100644
--- a/sw/source/filter/html/htmlform.hxx
+++ b/sw/source/filter/html/htmlform.hxx
@@ -22,10 +22,10 @@
#include <sal/types.h>
-extern const char * aEventListenerTable[];
-extern const char * aEventMethodTable[];
-extern const char * aEventSDOptionTable[];
-extern const char * aEventOptionTable[];
+extern const char* aEventListenerTable[];
+extern const char* aEventMethodTable[];
+extern const char* aEventSDOptionTable[];
+extern const char* aEventOptionTable[];
#endif
diff --git a/sw/source/filter/html/htmlnum.cxx b/sw/source/filter/html/htmlnum.cxx
index 9d5ed50d57e7..345645a240c8 100644
--- a/sw/source/filter/html/htmlnum.cxx
+++ b/sw/source/filter/html/htmlnum.cxx
@@ -21,14 +21,13 @@
#include <ndtxt.hxx>
#include <doc.hxx>
-void SwHTMLNumRuleInfo::Set( const SwTextNode& rTextNd )
+void SwHTMLNumRuleInfo::Set(const SwTextNode& rTextNd)
{
- const SwNumRule* pTextNdNumRule( rTextNd.GetNumRule() );
- if ( pTextNdNumRule &&
- pTextNdNumRule != rTextNd.GetDoc().GetOutlineNumRule() )
+ const SwNumRule* pTextNdNumRule(rTextNd.GetNumRule());
+ if (pTextNdNumRule && pTextNdNumRule != rTextNd.GetDoc().GetOutlineNumRule())
{
pNumRule = const_cast<SwNumRule*>(pTextNdNumRule);
- nDeep = static_cast< sal_uInt16 >(pNumRule ? rTextNd.GetActualListLevel() + 1 : 0);
+ nDeep = static_cast<sal_uInt16>(pNumRule ? rTextNd.GetActualListLevel() + 1 : 0);
bNumbered = rTextNd.IsCountedInList();
// #i57919# - correction of refactoring done by cws swnumtree:
// <bRestart> has to be set to <true>, if numbering is restarted at this