Project: Birt
Bug 250905 When delete the style, the reference count is wrong.
Reported: 2008-10-15 04:47:35 | Status: verified fixed

1:New a report design file. 2:Add a label to the body. 3:Add a style name 'test'. 4:The label apply the 'test' style. 5:Copy the label, then paste(to the body too). 6:Uodo. 7:Delete the 'test' style. Expect result: The popup dialog has one reference. Actual result: The popup dialog has two references.

Files changed in fix:
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/command/ContentCommandTest.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ContentCommand.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ContentRecord.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/ElementBackRefRecord.java