diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 12:55:03 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-13 15:15:59 +0100 |
commit | 32b57a159ea6ab3b0cdef7ca9d746639d42aa192 (patch) | |
tree | 72c7b0dfe8b3adb9754c3ea054741fea7c966345 /editeng/inc | |
parent | 5035f265cd6e19ef3589db55ca0b780944812365 (diff) |
tdf#123936 Formatting files in module editeng with clang-format
Change-Id: I745057f4a6dc0d8103ed7fa29d0f662226a5cee5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105663
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'editeng/inc')
-rw-r--r-- | editeng/inc/editeng.hxx | 10 | ||||
-rw-r--r-- | editeng/inc/editxml.hxx | 5 | ||||
-rw-r--r-- | editeng/inc/unopracc.hxx | 17 |
3 files changed, 15 insertions, 17 deletions
diff --git a/editeng/inc/editeng.hxx b/editeng/inc/editeng.hxx index cce3d79d4e10..5b831efa3b5e 100644 --- a/editeng/inc/editeng.hxx +++ b/editeng/inc/editeng.hxx @@ -19,10 +19,10 @@ #pragma once -#define MN_WORDLANGUAGE 998 -#define MN_PARALANGUAGE 999 -#define MN_ALTSTART 1000 -#define MN_AUTOSTART 2000 -#define MN_DICTSTART 3000 +#define MN_WORDLANGUAGE 998 +#define MN_PARALANGUAGE 999 +#define MN_ALTSTART 1000 +#define MN_AUTOSTART 2000 +#define MN_DICTSTART 3000 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/inc/editxml.hxx b/editeng/inc/editxml.hxx index 51ded36f684e..650b7dfdef48 100644 --- a/editeng/inc/editxml.hxx +++ b/editeng/inc/editxml.hxx @@ -25,10 +25,9 @@ struct ESelection; class EditPaM; /** this function exports the selected content of an edit engine into a xml stream*/ -extern void SvxWriteXML( EditEngine& rEditEngine, SvStream& rStream, const ESelection& rSel ); +extern void SvxWriteXML(EditEngine& rEditEngine, SvStream& rStream, const ESelection& rSel); /** this function imports xml from the stream into the selected of an edit engine */ -extern EditPaM SvxReadXML( EditEngine& rEditEngine, SvStream& rStream, const ESelection& rSel ); - +extern EditPaM SvxReadXML(EditEngine& rEditEngine, SvStream& rStream, const ESelection& rSel); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/editeng/inc/unopracc.hxx b/editeng/inc/unopracc.hxx index 7617bed0a86e..d6b8b8235762 100644 --- a/editeng/inc/unopracc.hxx +++ b/editeng/inc/unopracc.hxx @@ -21,7 +21,6 @@ #include <editeng/unotext.hxx> - class SvxEditSource; /** Wraps SvxUnoTextRangeBase and provides us with the text properties @@ -31,27 +30,27 @@ class SvxEditSource; required text range and return a reference to a XPropertySet. */ class SvxAccessibleTextPropertySet final : public SvxUnoTextRangeBase, - public css::lang::XTypeProvider, - public ::cppu::OWeakObject + public css::lang::XTypeProvider, + public ::cppu::OWeakObject { public: - SvxAccessibleTextPropertySet( const SvxEditSource*, const SvxItemPropertySet* ); + SvxAccessibleTextPropertySet(const SvxEditSource*, const SvxItemPropertySet*); virtual ~SvxAccessibleTextPropertySet() throw() override; // XTextRange - virtual css::uno::Reference< css::text::XText > SAL_CALL getText() override; + virtual css::uno::Reference<css::text::XText> SAL_CALL getText() override; - virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) override; + virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type& rType) override; virtual void SAL_CALL acquire() throw() override; virtual void SAL_CALL release() throw() override; // lang::XServiceInfo virtual OUString SAL_CALL getImplementationName() override; - virtual sal_Bool SAL_CALL supportsService( const OUString& ) override; + virtual sal_Bool SAL_CALL supportsService(const OUString&) override; // lang::XTypeProvider - virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override; - virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override; + virtual css::uno::Sequence<css::uno::Type> SAL_CALL getTypes() override; + virtual css::uno::Sequence<sal_Int8> SAL_CALL getImplementationId() override; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |