diff options
author | Philipp Hofer <philipp.hofer@protonmail.com> | 2020-11-12 12:48:50 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2020-11-13 14:31:50 +0100 |
commit | 16389aae367ebfa8ce19f8ee1c26232fec7ff729 (patch) | |
tree | 7aaadc9979fba948691e66ee3ea92cea3b69d0bd /basic/source/inc | |
parent | 0eaf2092940dc604926d31ef11b6ffb07abedc5a (diff) |
tdf#123936 Formatting files in module basic with clang-format
Change-Id: I87736d6f1a1d069c990b4e7b9ca291634ab4fb44
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105646
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'basic/source/inc')
-rw-r--r-- | basic/source/inc/errobject.hxx | 11 | ||||
-rw-r--r-- | basic/source/inc/sbjsmeth.hxx | 6 | ||||
-rw-r--r-- | basic/source/inc/sbjsmod.hxx | 10 | ||||
-rw-r--r-- | basic/source/inc/stdobj.hxx | 11 |
4 files changed, 18 insertions, 20 deletions
diff --git a/basic/source/inc/errobject.hxx b/basic/source/inc/errobject.hxx index 95900abeb46a..c43e88667f80 100644 --- a/basic/source/inc/errobject.hxx +++ b/basic/source/inc/errobject.hxx @@ -21,21 +21,20 @@ #include "sbunoobj.hxx" #include <ooo/vba/XErrObject.hpp> - class SbxErrObject : public SbUnoObject { class ErrObject* m_pErrObject; - css::uno::Reference< ooo::vba::XErrObject > m_xErr; + css::uno::Reference<ooo::vba::XErrObject> m_xErr; - SbxErrObject( const OUString& aName_, const css::uno::Any& aUnoObj_ ); + SbxErrObject(const OUString& aName_, const css::uno::Any& aUnoObj_); virtual ~SbxErrObject() override; public: - static SbxVariableRef const & getErrObject(); - static css::uno::Reference< ooo::vba::XErrObject > const & getUnoErrObject(); + static SbxVariableRef const& getErrObject(); + static css::uno::Reference<ooo::vba::XErrObject> const& getUnoErrObject(); /// @throws css::uno::RuntimeException - void setNumberAndDescription( ::sal_Int32 _number, const OUString& _description ); + void setNumberAndDescription(::sal_Int32 _number, const OUString& _description); }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/source/inc/sbjsmeth.hxx b/basic/source/inc/sbjsmeth.hxx index b813eebd9183..6121d4c98f17 100644 --- a/basic/source/inc/sbjsmeth.hxx +++ b/basic/source/inc/sbjsmeth.hxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ - #pragma once #include <basic/sbmeth.hxx> @@ -29,11 +28,10 @@ class SbJScriptMethod : public SbMethod { public: - SbJScriptMethod( SbxDataType ); + SbJScriptMethod(SbxDataType); virtual ~SbJScriptMethod() override; - SBX_DECL_PERSIST_NODATA(SBXID_JSCRIPTMETH,2); + SBX_DECL_PERSIST_NODATA(SBXID_JSCRIPTMETH, 2); }; - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/source/inc/sbjsmod.hxx b/basic/source/inc/sbjsmod.hxx index 2219c64db004..59be6230bbaf 100644 --- a/basic/source/inc/sbjsmod.hxx +++ b/basic/source/inc/sbjsmod.hxx @@ -27,12 +27,12 @@ class SbJScriptModule : public SbModule { - virtual bool LoadData( SvStream&, sal_uInt16 ) override; - virtual bool StoreData( SvStream& ) const override; + virtual bool LoadData(SvStream&, sal_uInt16) override; + virtual bool StoreData(SvStream&) const override; + public: - SBX_DECL_PERSIST_NODATA(SBXID_JSCRIPTMOD,1); - SbJScriptModule(); // hand through + SBX_DECL_PERSIST_NODATA(SBXID_JSCRIPTMOD, 1); + SbJScriptModule(); // hand through }; - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/basic/source/inc/stdobj.hxx b/basic/source/inc/stdobj.hxx index e488648c1128..39b353306203 100644 --- a/basic/source/inc/stdobj.hxx +++ b/basic/source/inc/stdobj.hxx @@ -30,12 +30,13 @@ class SbiStdObject : public SbxObject virtual ~SbiStdObject() override; using SbxVariable::GetInfo; - static SbxInfo* GetInfo( short ); - virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override; + static SbxInfo* GetInfo(short); + virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) override; + public: - SbiStdObject( const OUString&, StarBASIC* ); - virtual SbxVariable* Find( const OUString&, SbxClassType ) override; - virtual void SetModified( bool ) override; + SbiStdObject(const OUString&, StarBASIC*); + virtual SbxVariable* Find(const OUString&, SbxClassType) override; + virtual void SetModified(bool) override; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |