summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-12-14 09:07:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-12-15 08:48:12 +0100
commitf97125829c5c0733af9fef58ce73ac712a85aeb0 (patch)
treee99766144316faf05536d291fe94d015ad5b3447 /sal
parent5f4b126f74b1fa85f99a0ee3dfdf45368b6a1bb7 (diff)
loplugin:salcall (macOS)
Change-Id: I297ac09358ce948acae9b73e8ed605964520c73b Reviewed-on: https://gerrit.libreoffice.org/46437 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/process_impl.cxx2
-rw-r--r--sal/osl/unx/security.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/process_impl.cxx b/sal/osl/unx/process_impl.cxx
index d4fd8b1d2aca..9982a84306c8 100644
--- a/sal/osl/unx/process_impl.cxx
+++ b/sal/osl/unx/process_impl.cxx
@@ -46,7 +46,7 @@
namespace {
-oslProcessError SAL_CALL bootstrap_getExecutableFile(rtl_uString ** ppFileURL)
+oslProcessError bootstrap_getExecutableFile(rtl_uString ** ppFileURL)
{
oslProcessError result = osl_Process_E_NotFound;
diff --git a/sal/osl/unx/security.cxx b/sal/osl/unx/security.cxx
index d0d9ed7132b4..cc69dfb5044b 100644
--- a/sal/osl/unx/security.cxx
+++ b/sal/osl/unx/security.cxx
@@ -427,7 +427,7 @@ static bool osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDirectory, s
*/
#define MACOSX_CONFIG_DIR "/Library/Application Support" /* Used on iOS, too */
-static bool SAL_CALL osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt32 nMax)
+static bool osl_psz_getConfigDir(oslSecurity Security, sal_Char* pszDirectory, sal_uInt32 nMax)
{
if( osl_psz_getHomeDir(Security, pszDirectory, nMax - sizeof(MACOSX_CONFIG_DIR) + 1) )
{