summaryrefslogtreecommitdiff
path: root/include/xmloff
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 13:03:16 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-21 13:19:17 +0100
commit01baeab99890e5650b3dabc15f8d900490a5a133 (patch)
tree64a1b30b20a53262605312fff4d035876fc7c811 /include/xmloff
parent0108cd51faf942b3fc3a292522d4b2f421f1cf45 (diff)
tdf#123936 Formatting files in module include with clang-format
Change-Id: I0507dd797cd5a35e0ae14f4b69ee4e172d08a71a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105681 Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Tested-by: Jenkins
Diffstat (limited to 'include/xmloff')
-rw-r--r--include/xmloff/SchXMLExportHelper.hxx11
-rw-r--r--include/xmloff/XMLGraphicsDefaultStyle.hxx9
-rw-r--r--include/xmloff/XMLTextMasterStylesContext.hxx12
-rw-r--r--include/xmloff/animexp.hxx16
-rw-r--r--include/xmloff/odffields.hxx1
-rw-r--r--include/xmloff/prhdlfac.hxx14
6 files changed, 33 insertions, 30 deletions
diff --git a/include/xmloff/SchXMLExportHelper.hxx b/include/xmloff/SchXMLExportHelper.hxx
index 6e14b764db90..6043a03eaa82 100644
--- a/include/xmloff/SchXMLExportHelper.hxx
+++ b/include/xmloff/SchXMLExportHelper.hxx
@@ -38,20 +38,19 @@ class SchXMLExportHelper_Impl;
class XMLOFF_DLLPUBLIC SchXMLExportHelper final : public salhelper::SimpleReferenceObject
{
public:
- SchXMLExportHelper( SvXMLExport& rExport,
- SvXMLAutoStylePoolP& rASPool );
+ SchXMLExportHelper(SvXMLExport& rExport, SvXMLAutoStylePoolP& rASPool);
virtual ~SchXMLExportHelper() override;
/// returns the string corresponding to the current FileFormat CLSID for Chart
const OUString& getChartCLSID() const;
- void SetSourceShellID( const OUString& rShellID );
- void SetDestinationShellID( const OUString& rShellID );
+ void SetSourceShellID(const OUString& rShellID);
+ void SetDestinationShellID(const OUString& rShellID);
private:
- SchXMLExportHelper(SchXMLExportHelper const &) = delete;
- SchXMLExportHelper& operator =(SchXMLExportHelper const &) = delete;
+ SchXMLExportHelper(SchXMLExportHelper const&) = delete;
+ SchXMLExportHelper& operator=(SchXMLExportHelper const&) = delete;
private:
std::unique_ptr<SchXMLExportHelper_Impl> m_pImpl;
diff --git a/include/xmloff/XMLGraphicsDefaultStyle.hxx b/include/xmloff/XMLGraphicsDefaultStyle.hxx
index 229b480d1fd5..58f2f0f1a8d5 100644
--- a/include/xmloff/XMLGraphicsDefaultStyle.hxx
+++ b/include/xmloff/XMLGraphicsDefaultStyle.hxx
@@ -27,14 +27,13 @@
class XMLOFF_DLLPUBLIC XMLGraphicsDefaultStyle final : public XMLPropStyleContext
{
public:
-
- XMLGraphicsDefaultStyle( SvXMLImport& rImport,
- SvXMLStylesContext& rStyles);
+ XMLGraphicsDefaultStyle(SvXMLImport& rImport, SvXMLStylesContext& rStyles);
virtual ~XMLGraphicsDefaultStyle() override;
- virtual css::uno::Reference< css::xml::sax::XFastContextHandler > SAL_CALL createFastChildContext(
- sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList >& AttrList ) override;
+ virtual css::uno::Reference<css::xml::sax::XFastContextHandler> SAL_CALL createFastChildContext(
+ sal_Int32 nElement,
+ const css::uno::Reference<css::xml::sax::XFastAttributeList>& AttrList) override;
// This method is called for every default style
virtual void SetDefaults() override;
diff --git a/include/xmloff/XMLTextMasterStylesContext.hxx b/include/xmloff/XMLTextMasterStylesContext.hxx
index 1671ac01a2bc..ab1942b314f9 100644
--- a/include/xmloff/XMLTextMasterStylesContext.hxx
+++ b/include/xmloff/XMLTextMasterStylesContext.hxx
@@ -27,18 +27,18 @@
class XMLOFF_DLLPUBLIC XMLTextMasterStylesContext : public SvXMLStylesContext
{
protected:
- virtual SvXMLStyleContext *CreateStyleChildContext( sal_Int32 nElement,
- const css::uno::Reference< css::xml::sax::XFastAttributeList > & xAttrList ) override;
+ virtual SvXMLStyleContext* CreateStyleChildContext(
+ sal_Int32 nElement,
+ const css::uno::Reference<css::xml::sax::XFastAttributeList>& xAttrList) override;
- virtual bool InsertStyleFamily( XmlStyleFamily nFamily ) const override;
+ virtual bool InsertStyleFamily(XmlStyleFamily nFamily) const override;
public:
-
- XMLTextMasterStylesContext( SvXMLImport& rImport );
+ XMLTextMasterStylesContext(SvXMLImport& rImport);
virtual ~XMLTextMasterStylesContext() override;
};
-#endif // _XMLOFF_XMLTEXTMASTERSTYLECONTEXT_HXX
+#endif // _XMLOFF_XMLTEXTMASTERSTYLECONTEXT_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/xmloff/animexp.hxx b/include/xmloff/animexp.hxx
index 8f20dce4f86c..286cb21d35d0 100644
--- a/include/xmloff/animexp.hxx
+++ b/include/xmloff/animexp.hxx
@@ -23,8 +23,14 @@
#include <salhelper/simplereferenceobject.hxx>
#include <memory>
-namespace com::sun::star::drawing { class XShape; }
-namespace com::sun::star::uno { template <typename > class Reference; }
+namespace com::sun::star::drawing
+{
+class XShape;
+}
+namespace com::sun::star::uno
+{
+template <typename> class Reference;
+}
class AnimExpImpl;
class SvXMLExport;
@@ -38,9 +44,9 @@ public:
XMLAnimationsExporter();
virtual ~XMLAnimationsExporter() override;
- static void prepare( const css::uno::Reference< css::drawing::XShape >& xShape );
- void collect( const css::uno::Reference< css::drawing::XShape >& xShape, SvXMLExport& rExport );
- void exportAnimations( SvXMLExport& rExport );
+ static void prepare(const css::uno::Reference<css::drawing::XShape>& xShape);
+ void collect(const css::uno::Reference<css::drawing::XShape>& xShape, SvXMLExport& rExport);
+ void exportAnimations(SvXMLExport& rExport);
};
#endif // INCLUDED_XMLOFF_ANIMEXP_HXX
diff --git a/include/xmloff/odffields.hxx b/include/xmloff/odffields.hxx
index c37631f07d46..e1014e8310e3 100644
--- a/include/xmloff/odffields.hxx
+++ b/include/xmloff/odffields.hxx
@@ -20,7 +20,6 @@
#ifndef INCLUDED_XMLOFF_ODFFIELDS_HXX
#define INCLUDED_XMLOFF_ODFFIELDS_HXX
-
#define ODF_FORMTEXT "vnd.oasis.opendocument.field.FORMTEXT"
#define ODF_FORMFIELD_DEFAULT_LENGTH 5
diff --git a/include/xmloff/prhdlfac.hxx b/include/xmloff/prhdlfac.hxx
index 2ad3f3d7a920..e9eb038da121 100644
--- a/include/xmloff/prhdlfac.hxx
+++ b/include/xmloff/prhdlfac.hxx
@@ -42,8 +42,8 @@ class XMLOFF_DLLPUBLIC XMLPropertyHandlerFactory : public salhelper::SimpleRefer
struct Impl;
std::unique_ptr<Impl> mpImpl;
- XMLPropertyHandlerFactory( const XMLPropertyHandlerFactory& ) = delete;
- XMLPropertyHandlerFactory& operator= ( const XMLPropertyHandlerFactory& ) = delete;
+ XMLPropertyHandlerFactory(const XMLPropertyHandlerFactory&) = delete;
+ XMLPropertyHandlerFactory& operator=(const XMLPropertyHandlerFactory&) = delete;
public:
XMLPropertyHandlerFactory();
@@ -81,24 +81,24 @@ public:
return pHdl;
}
*/
- virtual const XMLPropertyHandler* GetPropertyHandler( sal_Int32 nType ) const;
+ virtual const XMLPropertyHandler* GetPropertyHandler(sal_Int32 nType) const;
/** helper method to statically create a property handler; this will not
* use the handler cache. This method should only be called in special
* circumstances; calling GetPropertyHandler is almost always
* preferable. */
- static std::unique_ptr<XMLPropertyHandler> CreatePropertyHandler( sal_Int32 nType );
+ static std::unique_ptr<XMLPropertyHandler> CreatePropertyHandler(sal_Int32 nType);
protected:
/** Retrieves a PropertyHandler from the internal cache */
- const XMLPropertyHandler* GetHdlCache( sal_Int32 nType ) const;
+ const XMLPropertyHandler* GetHdlCache(sal_Int32 nType) const;
/** Puts a PropertyHandler into the internal cache */
- void PutHdlCache( sal_Int32 nType, const XMLPropertyHandler* pHdl ) const;
+ void PutHdlCache(sal_Int32 nType, const XMLPropertyHandler* pHdl) const;
private:
/** Retrieves ( creates if necessary ) PropertyHandler for
basic XML-types */
- SAL_DLLPRIVATE const XMLPropertyHandler* GetBasicHandler( sal_Int32 nType ) const;
+ SAL_DLLPRIVATE const XMLPropertyHandler* GetBasicHandler(sal_Int32 nType) const;
};
#endif // INCLUDED_XMLOFF_PRHDLFAC_HXX