Skip to content

Commit

Permalink
Merge pull request #112 from DDMAL/bbox-color
Browse files Browse the repository at this point in the history
Remove redundant new syl for insert action
  • Loading branch information
yinanazhou authored Jul 30, 2023
2 parents f761cd7 + 4d66a78 commit 2bd455a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/editortoolkit_neume.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -874,8 +874,6 @@ bool EditorToolkitNeume::Insert(std::string elementType, std::string staffId, in
if (m_doc->GetType() == Facs) {
FacsimileInterface *fi = vrv_cast<FacsimileInterface *>(syl->GetFacsimileInterface());
assert(fi);
Text *text = new Text();
syl->AddChild(text);
Zone *sylZone = new Zone();

// calculate bboxUlx and bboxUly wrt rotation using sine rule
Expand Down

0 comments on commit 2bd455a

Please sign in to comment.