From 68f86457525c60f580954280d1a759aa174e8e96 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 1 Dec 2017 15:24:30 +0200 Subject: new loplugin salcall: remove unnecessary SAL_CALL In this first commit, I use the plugin to verify the consistency of our SAL_CALL annotations. The point being to make the next commit more mechanical in nature, purely using the rewriter. There are various chunks of unix-only code that have never had to be compiled by MSVC, hence the inconsistencies. In bridges, I had to inline some typedefs to make the verification code happy, since it cannot see into typedefs. Change-Id: Iec6e274bed857febf7295cfcf5e9f21fe4a34da0 Reviewed-on: https://gerrit.libreoffice.org/45502 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sal/osl/unx/file.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal') diff --git a/sal/osl/unx/file.cxx b/sal/osl/unx/file.cxx index 68d384414af3..86d513a73225 100644 --- a/sal/osl/unx/file.cxx +++ b/sal/osl/unx/file.cxx @@ -1056,7 +1056,7 @@ oslFileError SAL_CALL osl_openFile(rtl_uString* ustrFileURL, oslFileHandle* pHan return openFile(ustrFileURL, pHandle, uFlags, mode_t(-1)); } -oslFileError SAL_CALL openFile(rtl_uString* ustrFileURL, oslFileHandle* pHandle, sal_uInt32 uFlags, mode_t mode) +oslFileError openFile(rtl_uString* ustrFileURL, oslFileHandle* pHandle, sal_uInt32 uFlags, mode_t mode) { oslFileError eRet; -- cgit