Skip to content

Commit

Permalink
Remove unused code in staff
Browse files Browse the repository at this point in the history
  • Loading branch information
yinanazhou committed Mar 14, 2024
1 parent c0406d6 commit 534a3ae
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/staff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,6 @@ int Staff::GetDrawingX() const

int Staff::GetDrawingY() const
{
if (this->HasFacs()) {
const Doc *doc = vrv_cast<const Doc *>(this->GetFirstAncestor(DOC));
assert(DOC);
if (doc->IsFacs()) {
return FacsimileInterface::GetDrawingY();
}
}

if (m_drawingFacsY != VRV_UNSET) return m_drawingFacsY;

Expand Down

0 comments on commit 534a3ae

Please sign in to comment.