From b9273831d10939a36c206583f46e88d5b84dd7ed Mon Sep 17 00:00:00 2001 From: John Camelon Date: Wed, 23 Jul 2003 20:20:50 +0000 Subject: [PATCH] Fix offsets of PointerToFunctions/PointerTo Methods for OutlineView --- .../eclipse/cdt/internal/core/parser/DeclarationWrapper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/DeclarationWrapper.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/DeclarationWrapper.java index 9a1e9724bf6..f77ddda001c 100644 --- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/DeclarationWrapper.java +++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/DeclarationWrapper.java @@ -512,7 +512,7 @@ public class DeclarationWrapper implements IDeclaratorOwner friend, staticc, startingOffset, - declarator.getNameStartOffset(), + declarator.getOwnedDeclarator().getNameStartOffset(), templateDeclaration, declarator.isConst(), declarator.isVolatile(), @@ -545,7 +545,7 @@ public class DeclarationWrapper implements IDeclaratorOwner friend, staticc, startingOffset, - declarator.getNameStartOffset(), + declarator.getOwnedDeclarator().getNameStartOffset(), templateDeclaration, (ASTPointerOperator)declarator.getOwnedDeclarator().getPtrOps().get(0)); }