fix debug=t build

Change-Id: Ib50349da406ecff9979ac1ab522272694b69c2de
This commit is contained in:
Caolán McNamara
2014-07-01 08:43:30 +01:00
parent e2ca2f842b
commit 62cb50fd9b

View File

@@ -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<text::XWordCursor*>(