From 534a3ae748705996e734b7e64868dbbd12d7687d Mon Sep 17 00:00:00 2001 From: Yinan Zhou Date: Mon, 22 Jan 2024 16:27:02 -0500 Subject: [PATCH] Remove unused code in staff --- src/staff.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/staff.cpp b/src/staff.cpp index 1e3c1f00a52..5ba6a4a3dad 100644 --- a/src/staff.cpp +++ b/src/staff.cpp @@ -142,13 +142,6 @@ int Staff::GetDrawingX() const int Staff::GetDrawingY() const { - if (this->HasFacs()) { - const Doc *doc = vrv_cast(this->GetFirstAncestor(DOC)); - assert(DOC); - if (doc->IsFacs()) { - return FacsimileInterface::GetDrawingY(); - } - } if (m_drawingFacsY != VRV_UNSET) return m_drawingFacsY;