Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey Prigogin2011-10-27 21:40:40 -0400
committerSergey Prigogin2011-11-07 14:02:27 -0500
commitb1be2dbaac0d27e74355ce189166e357734a286e (patch)
treef1eda5fefff73113d37b7502e62d6624ee5e161b /core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter
parent168e1f446012ffb85c26de067475e52622f4e280 (diff)
downloadorg.eclipse.cdt-b1be2dbaac0d27e74355ce189166e357734a286e.tar.gz
org.eclipse.cdt-b1be2dbaac0d27e74355ce189166e357734a286e.tar.xz
org.eclipse.cdt-b1be2dbaac0d27e74355ce189166e357734a286e.zip
Method name adjustment.
Diffstat (limited to 'core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter')
-rw-r--r--core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/StatementWriter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/StatementWriter.java b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/StatementWriter.java
index 2e1e6dcafd..9bae7f9115 100644
--- a/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/StatementWriter.java
+++ b/core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/dom/rewrite/astwriter/StatementWriter.java
@@ -448,7 +448,7 @@ public class StatementWriter extends NodeWriter{
}
protected int writeMixedStatement(IASTStatement statement) {
- IFile file = FileHelper.getIFilefromIASTNode(statement);
+ IFile file = FileHelper.getFileFromNode(statement);
int offset = statement.getFileLocation().getNodeOffset();
int length = statement.getFileLocation().getNodeLength();
String code =FileContentHelper.getContent(file, offset, length);

Back to the top