summaryrefslogtreecommitdiffstats
path: root/idlc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-08 15:58:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-11 12:13:46 +0100
commit3af500580b1c82eabd60335c9ebc458a3f68850c (patch)
treee0ad105be694cfb46221d16e9ce987879794fa04 /idlc/inc
parenttdf#114333: consider trleft for 1st cell width on import; don't... (diff)
downloadcore-3af500580b1c82eabd60335c9ebc458a3f68850c.tar.gz
core-3af500580b1c82eabd60335c9ebc458a3f68850c.zip
loplugin:salcall fix functions
since cdecl is the default calling convention on Windows for such functions, the annotation is redundant. Change-Id: I1a85fa27e5ac65ce0e04a19bde74c90800ffaa2d Reviewed-on: https://gerrit.libreoffice.org/46164 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'idlc/inc')
-rw-r--r--idlc/inc/astexpression.hxx2
-rw-r--r--idlc/inc/idlc.hxx4
-rw-r--r--idlc/inc/idlctypes.hxx4
3 files changed, 5 insertions, 5 deletions
diff --git a/idlc/inc/astexpression.hxx b/idlc/inc/astexpression.hxx
index 53c9ff934556..9dac7e79cc10 100644
--- a/idlc/inc/astexpression.hxx
+++ b/idlc/inc/astexpression.hxx
@@ -84,7 +84,7 @@ struct AstExprValue
ExprType et;
};
-const sal_Char* SAL_CALL exprTypeToString(ExprType t);
+const sal_Char* exprTypeToString(ExprType t);
class AstExpression final
{
diff --git a/idlc/inc/idlc.hxx b/idlc/inc/idlc.hxx
index 99efb291b1f0..881078303e4a 100644
--- a/idlc/inc/idlc.hxx
+++ b/idlc/inc/idlc.hxx
@@ -150,8 +150,8 @@ bool isFileUrl(const OString& fileName);
OString convertToAbsoluteSystemPath(const OString& fileName);
OString convertToFileUrl(const OString& fileName);
-Idlc* SAL_CALL idlc();
-Idlc* SAL_CALL setIdlc(Options* pOptions);
+Idlc* idlc();
+Idlc* setIdlc(Options* pOptions);
AstDeclaration const * resolveTypedefs(AstDeclaration const * type);
diff --git a/idlc/inc/idlctypes.hxx b/idlc/inc/idlctypes.hxx
index 8f6f799f11ff..6d013f834e75 100644
--- a/idlc/inc/idlctypes.hxx
+++ b/idlc/inc/idlctypes.hxx
@@ -36,8 +36,8 @@ class AstDeclaration;
typedef std::list< AstDeclaration* > DeclList;
class AstScope;
-AstDeclaration* SAL_CALL scopeAsDecl(AstScope* pScope);
-AstScope* SAL_CALL declAsScope(AstDeclaration* pDecl);
+AstDeclaration* scopeAsDecl(AstScope* pScope);
+AstScope* declAsScope(AstDeclaration* pDecl);
#ifdef _MSC_VER
#pragma warning( disable : 4541 )