diff options
author | Muhammet Kara <muhammet.kara@collabora.com> | 2020-03-07 12:43:48 +0300 |
---|---|---|
committer | Muhammet Kara <muhammet.kara@collabora.com> | 2020-03-07 12:06:07 +0100 |
commit | f9b31a49027a8fa5e8fa094a3b62866832426466 (patch) | |
tree | 72a256713dca0c51283932dc96e731f5b11d3098 /xmloff | |
parent | 42a7fdb8e6eeb09db7bc64e2078632a3c68a2c12 (diff) |
clang-format xmloff with under 5-percent lines of change
Files which could become clang-format conformant with
under 5-percent lines of change relative to the total
count of lines in the file are found by using bin/find-clang-format.py,
and fixed with /opt/lo/bin/clang-format -i <path-of-the-file>
There will be follow-up patches to fix all 'under-5-percent' files.
Change-Id: Ia2b85f00fc182798176d0af686b37f0df59ecb3c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90151
Tested-by: Jenkins
Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/SchXMLImport.hxx | 15 | ||||
-rw-r--r-- | xmloff/inc/anim.hxx | 6 | ||||
-rw-r--r-- | xmloff/inc/animations.hxx | 3 | ||||
-rw-r--r-- | xmloff/inc/enummaps.hxx | 2 | ||||
-rw-r--r-- | xmloff/inc/prstylecond.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/draw/layerexp.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/table/table.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/text/XMLLineNumberingExport.hxx | 1 | ||||
-rw-r--r-- | xmloff/source/transform/PropType.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/transform/PropertyActionsOASIS.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/transform/PropertyActionsOOo.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/transform/TransformerAction.hxx | 1 |
12 files changed, 20 insertions, 20 deletions
diff --git a/xmloff/inc/SchXMLImport.hxx b/xmloff/inc/SchXMLImport.hxx index 690038c80bf8..33b0f50d5764 100644 --- a/xmloff/inc/SchXMLImport.hxx +++ b/xmloff/inc/SchXMLImport.hxx @@ -152,20 +152,21 @@ class SchXMLImport final : public SvXMLImport private: rtl::Reference<SchXMLImportHelper> maImportHelper; - virtual SvXMLImportContext *CreateFastContext( sal_Int32 nElement, - const ::css::uno::Reference< ::css::xml::sax::XFastAttributeList >& xAttrList ) override; + virtual SvXMLImportContext* CreateFastContext( + sal_Int32 nElement, + const ::css::uno::Reference<::css::xml::sax::XFastAttributeList>& xAttrList) override; public: - SchXMLImport( - const css::uno::Reference< css::uno::XComponentContext >& xContext, - OUString const & implementationName, SvXMLImportFlags nImportFlags ); + SchXMLImport(const css::uno::Reference<css::uno::XComponentContext>& xContext, + OUString const& implementationName, SvXMLImportFlags nImportFlags); - virtual ~SchXMLImport() throw () override; + virtual ~SchXMLImport() throw() override; SvXMLImportContext* CreateStylesContext(); // XImporter - virtual void SAL_CALL setTargetDocument( const css::uno::Reference< css::lang::XComponent >& xDoc ) override; + virtual void SAL_CALL + setTargetDocument(const css::uno::Reference<css::lang::XComponent>& xDoc) override; }; #endif // INCLUDED_XMLOFF_INC_SCHXMLIMPORT_HXX diff --git a/xmloff/inc/anim.hxx b/xmloff/inc/anim.hxx index b4c2e6d58b6e..f3fb92d38431 100644 --- a/xmloff/inc/anim.hxx +++ b/xmloff/inc/anim.hxx @@ -88,8 +88,10 @@ extern const SvXMLEnumMapEntry<XMLEffectDirection> aXML_AnimationDirection_EnumM extern const SvXMLEnumMapEntry<css::presentation::AnimationSpeed> aXML_AnimationSpeed_EnumMap[]; -void SdXMLImplSetEffect( css::presentation::AnimationEffect eEffect, XMLEffect& eKind, XMLEffectDirection& eDirection, sal_Int16& nStartScale, bool& bIn ); -css::presentation::AnimationEffect ImplSdXMLgetEffect( XMLEffect eKind, XMLEffectDirection eDirection, sal_Int16 nStartScale, bool bIn ); +void SdXMLImplSetEffect(css::presentation::AnimationEffect eEffect, XMLEffect& eKind, + XMLEffectDirection& eDirection, sal_Int16& nStartScale, bool& bIn); +css::presentation::AnimationEffect +ImplSdXMLgetEffect(XMLEffect eKind, XMLEffectDirection eDirection, sal_Int16 nStartScale, bool bIn); #endif // INCLUDED_XMLOFF_INC_ANIM_HXX diff --git a/xmloff/inc/animations.hxx b/xmloff/inc/animations.hxx index 0144a590a806..a84907845236 100644 --- a/xmloff/inc/animations.hxx +++ b/xmloff/inc/animations.hxx @@ -22,7 +22,7 @@ #include <xmloff/xmltoken.hxx> -template<typename EnumT> struct SvXMLEnumMapEntry; +template <typename EnumT> struct SvXMLEnumMapEntry; namespace xmloff { @@ -50,7 +50,6 @@ struct ImplAttributeNameConversion }; extern const struct ImplAttributeNameConversion* getAnimationAttributeNamesConversionList(); - } #endif // INCLUDED_XMLOFF_INC_ANIMATIONS_HXX diff --git a/xmloff/inc/enummaps.hxx b/xmloff/inc/enummaps.hxx index 525620b72239..97bd9ea8764f 100644 --- a/xmloff/inc/enummaps.hxx +++ b/xmloff/inc/enummaps.hxx @@ -15,7 +15,7 @@ #include <com/sun/star/drawing/FillStyle.hpp> #include <com/sun/star/drawing/RectanglePoint.hpp> -template<typename EnumT> struct SvXMLEnumMapEntry; +template <typename EnumT> struct SvXMLEnumMapEntry; extern SvXMLEnumMapEntry<css::drawing::FillStyle> const aXML_FillStyle_EnumMap[]; extern SvXMLEnumMapEntry<css::drawing::RectanglePoint> const aXML_RefPoint_EnumMap[]; diff --git a/xmloff/inc/prstylecond.hxx b/xmloff/inc/prstylecond.hxx index 57df2f80ae17..e658a83b9125 100644 --- a/xmloff/inc/prstylecond.hxx +++ b/xmloff/inc/prstylecond.hxx @@ -19,6 +19,6 @@ #include <rtl/ustring.hxx> -OUString GetParaStyleCondExternal( OUString const &); +OUString GetParaStyleCondExternal(OUString const&); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/draw/layerexp.hxx b/xmloff/source/draw/layerexp.hxx index 2c2ea0efe721..90c905879091 100644 --- a/xmloff/source/draw/layerexp.hxx +++ b/xmloff/source/draw/layerexp.hxx @@ -25,7 +25,7 @@ class SvXMLExport; class SdXMLayerExporter { public: - static void exportLayer( SvXMLExport& rExport ); + static void exportLayer(SvXMLExport& rExport); }; #endif // INCLUDED_XMLOFF_SOURCE_DRAW_LAYEREXP_HXX diff --git a/xmloff/source/table/table.hxx b/xmloff/source/table/table.hxx index 79a4779e56ba..cdf5dba92311 100644 --- a/xmloff/source/table/table.hxx +++ b/xmloff/source/table/table.hxx @@ -31,7 +31,7 @@ struct TableStyleElement }; extern const TableStyleElement* getTableStyleMap(); -extern const TableStyleElement* getWriterSpecificTableStyleMap(); +extern const TableStyleElement* getWriterSpecificTableStyleMap(); extern const XMLPropertyMapEntry* getColumnPropertiesMap(); extern const XMLPropertyMapEntry* getRowPropertiesMap(); extern const XMLPropertyMapEntry* getCellPropertiesMap(); diff --git a/xmloff/source/text/XMLLineNumberingExport.hxx b/xmloff/source/text/XMLLineNumberingExport.hxx index 9b96219c71b2..f120f757641c 100644 --- a/xmloff/source/text/XMLLineNumberingExport.hxx +++ b/xmloff/source/text/XMLLineNumberingExport.hxx @@ -20,7 +20,6 @@ #ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLLINENUMBERINGEXPORT_HXX #define INCLUDED_XMLOFF_SOURCE_TEXT_XMLLINENUMBERINGEXPORT_HXX - class SvXMLExport; /** export <text:linenumbering-configuration> and its child elements */ diff --git a/xmloff/source/transform/PropType.hxx b/xmloff/source/transform/PropType.hxx index 2b15d36743bc..5c7b7f721d28 100644 --- a/xmloff/source/transform/PropType.hxx +++ b/xmloff/source/transform/PropType.hxx @@ -20,7 +20,7 @@ #ifndef INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROPTYPE_HXX #define INCLUDED_XMLOFF_SOURCE_TRANSFORM_PROPTYPE_HXX -enum XMLPropType +enum XMLPropType { XML_PROP_TYPE_GRAPHIC, XML_PROP_TYPE_DRAWING_PAGE, diff --git a/xmloff/source/transform/PropertyActionsOASIS.hxx b/xmloff/source/transform/PropertyActionsOASIS.hxx index 1f0cd92f891c..3dbfa10de66f 100644 --- a/xmloff/source/transform/PropertyActionsOASIS.hxx +++ b/xmloff/source/transform/PropertyActionsOASIS.hxx @@ -25,7 +25,7 @@ enum XMLPropOASISTransformerAction { - XML_OPTACTION_LINE_MODE=XML_ATACTION_USER_DEFINED, + XML_OPTACTION_LINE_MODE = XML_ATACTION_USER_DEFINED, XML_OPTACTION_UNDERLINE_TYPE, XML_OPTACTION_UNDERLINE_STYLE, XML_OPTACTION_UNDERLINE_WIDTH, diff --git a/xmloff/source/transform/PropertyActionsOOo.hxx b/xmloff/source/transform/PropertyActionsOOo.hxx index 5d693a00bcee..5353724f95d1 100644 --- a/xmloff/source/transform/PropertyActionsOOo.hxx +++ b/xmloff/source/transform/PropertyActionsOOo.hxx @@ -25,7 +25,7 @@ enum XMLPropOOOTransformerAction { - XML_PTACTION_LINE_MODE=XML_ATACTION_USER_DEFINED, + XML_PTACTION_LINE_MODE = XML_ATACTION_USER_DEFINED, XML_PTACTION_UNDERLINE, XML_PTACTION_LINETHROUGH, XML_PTACTION_KEEP_WITH_NEXT, diff --git a/xmloff/source/transform/TransformerAction.hxx b/xmloff/source/transform/TransformerAction.hxx index d3571ba0ccb3..32707a3d1a85 100644 --- a/xmloff/source/transform/TransformerAction.hxx +++ b/xmloff/source/transform/TransformerAction.hxx @@ -23,7 +23,6 @@ #define XML_TACTION_EOT 0x0000 #define XML_TACTION_END 0xffff - #endif // INCLUDED_XMLOFF_SOURCE_TRANSFORM_TRANSFORMERACTION_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |