diff options
Diffstat (limited to 'idlc/inc')
-rw-r--r-- | idlc/inc/astdeclaration.hxx | 2 | ||||
-rw-r--r-- | idlc/inc/astexpression.hxx | 2 | ||||
-rw-r--r-- | idlc/inc/astsequence.hxx | 2 | ||||
-rw-r--r-- | idlc/inc/errorhandler.hxx | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/idlc/inc/astdeclaration.hxx b/idlc/inc/astdeclaration.hxx index aca098d16bbd..ce8f9740a745 100644 --- a/idlc/inc/astdeclaration.hxx +++ b/idlc/inc/astdeclaration.hxx @@ -70,7 +70,7 @@ public: { return m_scopedName; } const OString& getFullName() const { return m_fullName; } - virtual const sal_Char* getRelativName() const + virtual const char* getRelativName() const { return m_fullName.getStr()+1; } AstScope* getScope() { return m_pScope; } diff --git a/idlc/inc/astexpression.hxx b/idlc/inc/astexpression.hxx index ae96dff602ea..b146e9c85a07 100644 --- a/idlc/inc/astexpression.hxx +++ b/idlc/inc/astexpression.hxx @@ -85,7 +85,7 @@ struct AstExprValue ExprType et; }; -const sal_Char* exprTypeToString(ExprType t); +const char* exprTypeToString(ExprType t); class AstExpression final { diff --git a/idlc/inc/astsequence.hxx b/idlc/inc/astsequence.hxx index 0a8efc77b4f8..6c2143267532 100644 --- a/idlc/inc/astsequence.hxx +++ b/idlc/inc/astsequence.hxx @@ -35,7 +35,7 @@ public: virtual bool isUnsigned() const override { return m_pMemberType != nullptr && m_pMemberType->isUnsigned(); } - virtual const sal_Char* getRelativName() const override; + virtual const char* getRelativName() const override; private: AstType const * m_pMemberType; mutable o3tl::optional<OString> m_xRelativName; diff --git a/idlc/inc/errorhandler.hxx b/idlc/inc/errorhandler.hxx index 6a26497f042b..9b49f5df441a 100644 --- a/idlc/inc/errorhandler.hxx +++ b/idlc/inc/errorhandler.hxx @@ -83,10 +83,10 @@ public: static void error3(ErrorCode e, AstDeclaration const * d1, AstDeclaration const * d2, AstDeclaration const * d3); // Warning - static void warning0(WarningCode e, const sal_Char* warningmsg); + static void warning0(WarningCode e, const char* warningmsg); // Report a syntax error in IDL input - static void syntaxError(ParseState state, sal_Int32 lineNumber, const sal_Char* errmsg); + static void syntaxError(ParseState state, sal_Int32 lineNumber, const char* errmsg); // Report an unsuccessful coercion attempt static void coercionError(AstExpression *pExpr, ExprType et); |