summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-02-26 11:02:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-02-26 21:15:41 +0100
commitea58b039ab455b38aabbd20e8e50ec8965a1d69d (patch)
tree0010ec68a8da3c8dad5c34c27d42bfc0acd9a5b6 /shell
parent0a29c928afa74123bca05dc089c751603d368467 (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 'shell')
-rw-r--r--shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx2
-rw-r--r--shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx14
2 files changed, 8 insertions, 8 deletions
diff --git a/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx b/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx
index c36fc6248ca6..dadc08d1edfb 100644
--- a/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx
+++ b/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx
@@ -846,7 +846,7 @@ extern "C" BOOL WINAPI DllMain(
LPVOID /*lpvReserved*/
)
{
- if ( DLL_PROCESS_ATTACH == fdwReason )
+ if ( DLL_PROCESS_ATTACH == fdwReason )
DisableThreadLibraryCalls( hInstance );
return TRUE;
}
diff --git a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
index c6dc1253b953..df3a63d7fd66 100644
--- a/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
+++ b/shell/source/win32/shlxthandler/thumbviewer/thumbviewer.cxx
@@ -202,18 +202,18 @@ HRESULT STDMETHODCALLTYPE StreamOnZipBuffer::Seek(LARGE_INTEGER dlibMove, DWORD
case STREAM_SEEK_END:
p = size - 1;
break;
- }
+ }
- HRESULT hr = STG_E_INVALIDFUNCTION;
+ HRESULT hr = STG_E_INVALIDFUNCTION;
- p += dlibMove.QuadPart;
+ p += dlibMove.QuadPart;
- if ( ( p >= 0 ) && (p < size) )
- {
+ if ( ( p >= 0 ) && (p < size) )
+ {
pos_ = static_cast<size_t>(p);
hr = S_OK;
- }
- return hr;
+ }
+ return hr;
}
HRESULT STDMETHODCALLTYPE StreamOnZipBuffer::Stat(STATSTG *pstatstg, DWORD grfStatFlag)