summaryrefslogtreecommitdiff
path: root/basic/inc
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 12:48:50 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-13 14:31:50 +0100
commit16389aae367ebfa8ce19f8ee1c26232fec7ff729 (patch)
tree7aaadc9979fba948691e66ee3ea92cea3b69d0bd /basic/inc
parent0eaf2092940dc604926d31ef11b6ffb07abedc5a (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/inc')
-rw-r--r--basic/inc/global.hxx5
-rw-r--r--basic/inc/sb.hxx4
-rw-r--r--basic/inc/sbxbase.hxx10
-rw-r--r--basic/inc/sbxfac.hxx6
4 files changed, 13 insertions, 12 deletions
diff --git a/basic/inc/global.hxx b/basic/inc/global.hxx
index aa101a562ced..0f380cad3fdd 100644
--- a/basic/inc/global.hxx
+++ b/basic/inc/global.hxx
@@ -9,8 +9,9 @@
#pragma once
-namespace utl {
- class TransliterationWrapper;
+namespace utl
+{
+class TransliterationWrapper;
}
class SbGlobal
diff --git a/basic/inc/sb.hxx b/basic/inc/sb.hxx
index 4f3132fcf569..f94c52a6e045 100644
--- a/basic/inc/sb.hxx
+++ b/basic/inc/sb.hxx
@@ -22,8 +22,8 @@
#include <basic/sbxobj.hxx>
// create object from user-type (+StringID+StringID)
-SbxObject* createUserTypeImpl( const OUString& rClassName );
+SbxObject* createUserTypeImpl(const OUString& rClassName);
-SbxObject* cloneTypeObjectImpl( const SbxObject& rTypeObj );
+SbxObject* cloneTypeObjectImpl(const SbxObject& rTypeObj);
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/basic/inc/sbxbase.hxx b/basic/inc/sbxbase.hxx
index 40255c485a8f..80552c2fbf08 100644
--- a/basic/inc/sbxbase.hxx
+++ b/basic/inc/sbxbase.hxx
@@ -35,15 +35,15 @@ class SbxBasicFormater;
// AppData structure for SBX:
struct SbxAppData
{
- ErrCode eErrCode; // Error code
- SbxVariableRef m_aGlobErr; // Global error object
+ ErrCode eErrCode; // Error code
+ SbxVariableRef m_aGlobErr; // Global error object
std::vector<SbxFactory*> m_Factories; // these are owned by fields in SbiGlobals
- tools::SvRef<SvRefBase> mrImplRepository;
+ tools::SvRef<SvRefBase> mrImplRepository;
// Pointer to Format()-Command helper class
- std::unique_ptr<SbxBasicFormater> pBasicFormater;
+ std::unique_ptr<SbxBasicFormater> pBasicFormater;
- LanguageType eBasicFormaterLangType;
+ LanguageType eBasicFormaterLangType;
// It might be useful to store this class 'global' because some string resources are saved here
SbxAppData();
diff --git a/basic/inc/sbxfac.hxx b/basic/inc/sbxfac.hxx
index 7e92f895adaf..28257b17a6d7 100644
--- a/basic/inc/sbxfac.hxx
+++ b/basic/inc/sbxfac.hxx
@@ -28,9 +28,9 @@ class SbxFactory
{
public:
virtual ~SbxFactory();
- SbxFactory() {}
- virtual SbxBase* Create( sal_uInt16 nSbxId, sal_uInt32 );
- virtual SbxObject* CreateObject( const OUString& );
+ SbxFactory() {}
+ virtual SbxBase* Create(sal_uInt16 nSbxId, sal_uInt32);
+ virtual SbxObject* CreateObject(const OUString&);
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */