diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-08-01 09:17:36 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-08-01 09:17:36 (GMT) |
commit | f16a63d6d5d9fd11a2f1c57bdfad7f1d4b175f0e (patch) | |
tree | 7cf257e68a43c63c79d16589f8f38abc2dbc069f /src/code.l | |
parent | 6159868d03868ce4545575fb1d28ae35fb833d6a (diff) | |
download | Doxygen-f16a63d6d5d9fd11a2f1c57bdfad7f1d4b175f0e.zip Doxygen-f16a63d6d5d9fd11a2f1c57bdfad7f1d4b175f0e.tar.gz Doxygen-f16a63d6d5d9fd11a2f1c57bdfad7f1d4b175f0e.tar.bz2 |
issue 7068: "QGDict::hashAsciiKey: Invalid null key" error messages (part 3)
Diffstat (limited to 'src/code.l')
-rw-r--r-- | src/code.l | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1513,7 +1513,7 @@ static void writeObjCMethodCall(ObjCCallCtx *ctx) { ctx->objectType = stripClassName(ctx->objectVar->typeString()); //printf(" ctx->objectType=%p\n",ctx->objectType); - if (ctx->objectType) + if (ctx->objectType && !ctx->methodName.isEmpty()) { ctx->method = ctx->objectType->getMemberByName(ctx->methodName); //printf(" ctx->method=%p\n",ctx->method); @@ -1525,7 +1525,7 @@ static void writeObjCMethodCall(ObjCCallCtx *ctx) else // local variable { //printf(" object is local variable\n"); - if (cd!=VariableContext::dummyContext) + if (cd!=VariableContext::dummyContext && !ctx->methodName.isEmpty()) { ctx->method = cd->getMemberByName(ctx->methodName); //printf(" class=%p method=%p\n",cd,ctx->method); @@ -1594,7 +1594,7 @@ static void writeObjCMethodCall(ObjCCallCtx *ctx) { ctx->objectType = ctx->objectType->categoryOf(); } - if (ctx->objectType) + if (ctx->objectType && !ctx->methodName.isEmpty()) { ctx->method = ctx->objectType->getMemberByName(ctx->methodName); } @@ -1623,7 +1623,7 @@ static void writeObjCMethodCall(ObjCCallCtx *ctx) if (bclass->classDef->compoundType()!=ClassDef::Protocol) { ctx->objectType = bclass->classDef; - if (ctx->objectType) + if (ctx->objectType && !ctx->methodName.isEmpty()) { ctx->method = ctx->objectType->getMemberByName(ctx->methodName); } @@ -1701,7 +1701,7 @@ static void writeObjCMethodCall(ObjCCallCtx *ctx) else { ctx->objectType = stripClassName(ictx->method->typeString()); - if (ctx->objectType) + if (ctx->objectType && !ctx->methodName.isEmpty()) { ctx->method = ctx->objectType->getMemberByName(ctx->methodName); } |