Skip to content

Commit 2b87634

Browse files
committed
removed useless module rename
1 parent 1f31ec4 commit 2b87634

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Rubberduck.Parsing/Emitter.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ public Emitter(RubberduckParserState state)
1616
_state = state;
1717
}
1818

19-
private static readonly string TempModuleName = "Rubberduck___0";
20-
2119
private static readonly string GetTypeNameFunctionTemplate = @"
2220
Public Function GetTypeName() As String
2321
GetTypeName = TypeName({0})
@@ -53,7 +51,6 @@ public TResult ExecuteWithResult<TResult>(IVBProject project, string content, st
5351
try
5452
{
5553
component = project.VBComponents.Add(ComponentType.StandardModule);
56-
component.Name = TempModuleName;
5754
component.CodeModule.AddFromString(content);
5855
var host = project.VBE.HostApplication();
5956
result = host.Run(name, args);

0 commit comments

Comments
 (0)