summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-01-30 14:23:15 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-01-30 16:25:15 +0100
commitd0265c128c5c2c7d12e2f955ccb02aa255a2bf3c (patch)
tree0560183165036f1c0f53959deadd51c85d6ab19b /fpicker
parent9e8f11a722ee9cba37c4692a6ab7d74536261429 (diff)
loplugin:redundantinline (clang-cl)
Change-Id: Ib6320ddc049e93cca4c5931ad28d1873d34bd8b4 Reviewed-on: https://gerrit.libreoffice.org/67137 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/FilterContainer.cxx2
-rw-r--r--fpicker/source/win32/VistaFilePickerImpl.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/win32/FilterContainer.cxx b/fpicker/source/win32/FilterContainer.cxx
index 4fabed1460e4..8b3ceb4926af 100644
--- a/fpicker/source/win32/FilterContainer.cxx
+++ b/fpicker/source/win32/FilterContainer.cxx
@@ -222,7 +222,7 @@ static sal_uInt32 getTotalFilterLength( CFilterContainer& aFilterContainer )
return ( totalLength > 0 ) ? totalLength + 1 : totalLength;
}
-static inline
+static
void wcsmemcpy( sal_Unicode* pDest, const sal_Unicode* pSrc, sal_uInt32 nLength )
{
memcpy( pDest, pSrc, nLength * sizeof( sal_Unicode ) );
diff --git a/fpicker/source/win32/VistaFilePickerImpl.cxx b/fpicker/source/win32/VistaFilePickerImpl.cxx
index 1bd177f1d7f4..d404e71b71d4 100644
--- a/fpicker/source/win32/VistaFilePickerImpl.cxx
+++ b/fpicker/source/win32/VistaFilePickerImpl.cxx
@@ -38,7 +38,7 @@
#include <shlguid.h>
#include <shlobj.h>
-static inline bool is_current_process_window(HWND hwnd)
+static bool is_current_process_window(HWND hwnd)
{
DWORD pid;
GetWindowThreadProcessId(hwnd, &pid);