diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index dc3e781d8e4b..75f2f704a76b 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -3276,12 +3276,6 @@ uno::Reference< text::XTextCursor > SwXTextFrame::createTextCursorByRange(const if (pFmt && ::sw::XTextRangeToSwPaM(aPam, aTextPosition)) { SwNode& rNode = pFmt->GetCntnt().GetCntntIdx()->GetNode(); -#if OSL_DEBUG_LEVEL > 1 - const SwStartNode* p1 = aPam.GetNode()->FindFlyStartNode(); - const SwStartNode* p2 = rNode.FindFlyStartNode(); - (void)p1; - (void)p2; -#endif if(aPam.GetNode().FindFlyStartNode() == rNode.FindFlyStartNode()) { aRef = static_cast(