diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-02-26 11:02:17 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-02-26 21:15:41 +0100 |
commit | ea58b039ab455b38aabbd20e8e50ec8965a1d69d (patch) | |
tree | 0010ec68a8da3c8dad5c34c27d42bfc0acd9a5b6 /sal | |
parent | 0a29c928afa74123bca05dc089c751603d368467 (diff) |
loplugin:indentation (clang-cl)
Change-Id: I94689e4eed290b4505d2caba2d9802ef7fb6cffd
Reviewed-on: https://gerrit.libreoffice.org/68378
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/osl/w32/path_helper.cxx | 2 | ||||
-rw-r--r-- | sal/osl/w32/pipe.cxx | 2 | ||||
-rw-r--r-- | sal/osl/w32/profile.cxx | 12 | ||||
-rw-r--r-- | sal/osl/w32/security.cxx | 2 | ||||
-rw-r--r-- | sal/qa/osl/security/osl_Security.cxx | 2 |
5 files changed, 10 insertions, 10 deletions
diff --git a/sal/osl/w32/path_helper.cxx b/sal/osl/w32/path_helper.cxx index abbc46f165d8..294245a65525 100644 --- a/sal/osl/w32/path_helper.cxx +++ b/sal/osl/w32/path_helper.cxx @@ -33,7 +33,7 @@ void osl_systemPathEnsureSeparator(/*inout*/ rtl_uString** ppustrPath) OSL_PRECOND(ppustrPath && (nullptr != *ppustrPath), "osl_systemPathEnsureSeparator: Invalid parameter"); - OUString path(*ppustrPath); + OUString path(*ppustrPath); sal_Int32 i = std::max<sal_Int32>(path.lastIndexOf(BACKSLASH), path.lastIndexOf(SLASH)); if (i < (path.getLength()-1)) diff --git a/sal/osl/w32/pipe.cxx b/sal/osl/w32/pipe.cxx index 2e469b93e8c5..b128143702a1 100644 --- a/sal/osl/w32/pipe.cxx +++ b/sal/osl/w32/pipe.cxx @@ -425,7 +425,7 @@ sal_Int32 SAL_CALL osl_sendPipe(oslPipe pPipe, else nBytes = DWORD(-1); - pPipe->m_Error = osl_Pipe_E_ConnectionAbort; + pPipe->m_Error = osl_Pipe_E_ConnectionAbort; } return nBytes; diff --git a/sal/osl/w32/profile.cxx b/sal/osl/w32/profile.cxx index 728bac9935aa..69fe2b4b94da 100644 --- a/sal/osl/w32/profile.cxx +++ b/sal/osl/w32/profile.cxx @@ -984,7 +984,7 @@ sal_uInt32 SAL_CALL osl_getProfileSections(oslProfile Profile, sal_Char* pszBuff { if (MaxLen != 0) { - for (i = 0; i < pProfile->m_NoSections; i++) + for (i = 0; i < pProfile->m_NoSections; i++) { osl_TProfileSection* pSec = &pProfile->m_Sections[i]; @@ -1003,7 +1003,7 @@ sal_uInt32 SAL_CALL osl_getProfileSections(oslProfile Profile, sal_Char* pszBuff } else { - for (i = 0; i < pProfile->m_NoSections; i++) + for (i = 0; i < pProfile->m_NoSections; i++) n += pProfile->m_Sections[i].m_Len + 1; n += 1; @@ -1632,10 +1632,10 @@ static void removeSection(osl_TProfileImpl* pProfile, osl_TProfileSection *pSect static osl_TProfileSection* findEntry(osl_TProfileImpl* pProfile, const sal_Char* Section, const sal_Char* Entry, sal_uInt32 *pNoEntry) { -static sal_uInt32 Sect = 0; - sal_uInt32 i, n; - sal_uInt32 Len; - osl_TProfileSection* pSec = nullptr; + static sal_uInt32 Sect = 0; + sal_uInt32 i, n; + sal_uInt32 Len; + osl_TProfileSection* pSec = nullptr; Len = strlen(Section); Section = stripBlanks(Section, &Len); diff --git a/sal/osl/w32/security.cxx b/sal/osl/w32/security.cxx index ebd3754705dd..aeecf1b8ca63 100644 --- a/sal/osl/w32/security.cxx +++ b/sal/osl/w32/security.cxx @@ -638,7 +638,7 @@ static bool GetSpecialFolder(rtl_uString **strPath, int nFolder) if (_waccess(o3tl::toW(PathW), 0) < 0) CreateDirectoryW(o3tl::toW(PathW), nullptr); - hr = pSHGetSpecialFolderLocation(GetActiveWindow(), nFolder, &pidl); + hr = pSHGetSpecialFolderLocation(GetActiveWindow(), nFolder, &pidl); } RegCloseKey(hRegKey); diff --git a/sal/qa/osl/security/osl_Security.cxx b/sal/qa/osl/security/osl_Security.cxx index 8f9980844530..676c15a4c086 100644 --- a/sal/qa/osl/security/osl_Security.cxx +++ b/sal/qa/osl/security/osl_Security.cxx @@ -405,7 +405,7 @@ void MyTestPlugInImpl::initialize( CPPUNIT_NS::TestFactoryRegistry *, /// Get user Security ID: // Create buffers that may be large enough. If a buffer is too small, the count parameter will be set to the size needed. - const DWORD INITIAL_SIZE = 32; + const DWORD INITIAL_SIZE = 32; DWORD cbSid = 0; DWORD dwSidBufferSize = INITIAL_SIZE; DWORD cchDomainName = 0; |