summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2020-02-16 10:27:48 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-02-16 11:04:43 +0100
commita8487acabd5d3896e3b5ae6a0afd9da500f35edb (patch)
tree74472f6e43b4583fddc42890973958bde6ebdbeb /basic
parent4c0c3333886f2b646c99deb7c503948308fd8698 (diff)
clang-format accessibility & basctl 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: Idc890cac4bb6aed4e36c3556a2abc0744fd086df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88770 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'basic')
-rw-r--r--basic/source/classes/sbintern.cxx6
-rw-r--r--basic/source/inc/eventatt.hxx2
-rw-r--r--basic/source/inc/sbxmod.hxx2
3 files changed, 5 insertions, 5 deletions
diff --git a/basic/source/classes/sbintern.cxx b/basic/source/classes/sbintern.cxx
index 77bfc64e030b..aaf26ee2a34c 100644
--- a/basic/source/classes/sbintern.cxx
+++ b/basic/source/classes/sbintern.cxx
@@ -25,7 +25,7 @@ SbiGlobals* SbiGlobals::pGlobals = nullptr;
SbiGlobals* GetSbData()
{
- if( !SbiGlobals::pGlobals )
+ if (!SbiGlobals::pGlobals)
SbiGlobals::pGlobals = new SbiGlobals;
return SbiGlobals::pGlobals;
}
@@ -33,13 +33,13 @@ SbiGlobals* GetSbData()
SbiGlobals::SbiGlobals()
{
pInst = nullptr;
- pSbFac= nullptr;
+ pSbFac = nullptr;
pUnoFac = nullptr;
pTypeFac = nullptr;
pClassFac = nullptr;
pOLEFac = nullptr;
pFormFac = nullptr;
- pMod = nullptr;
+ pMod = nullptr;
pCompMod = nullptr; // JSM
nInst = 0;
nCode = ERRCODE_NONE;
diff --git a/basic/source/inc/eventatt.hxx b/basic/source/inc/eventatt.hxx
index fbe0104db00f..b38c83c597ce 100644
--- a/basic/source/inc/eventatt.hxx
+++ b/basic/source/inc/eventatt.hxx
@@ -27,7 +27,7 @@ class SbxArray;
// Instantiate "com.sun.star.awt.UnoControlDialog" on basis
// of a DialogLibrary entry: Convert from XML-ByteSequence
// and attach events.
-void RTL_Impl_CreateUnoDialog( SbxArray& rPar );
+void RTL_Impl_CreateUnoDialog(SbxArray& rPar);
#endif
diff --git a/basic/source/inc/sbxmod.hxx b/basic/source/inc/sbxmod.hxx
index 9ada1861ae6f..853715c4b130 100644
--- a/basic/source/inc/sbxmod.hxx
+++ b/basic/source/inc/sbxmod.hxx
@@ -23,7 +23,7 @@
#include <com/sun/star/frame/XModel.hpp>
#include <basic/sbstar.hxx>
-css::uno::Reference< css::frame::XModel > getDocumentModel( StarBASIC* );
+css::uno::Reference<css::frame::XModel> getDocumentModel(StarBASIC*);
#endif // INCLUDED_BASIC_SOURCE_INC_SBXMOD_HXX