Kaydet (Commit) 62cb50fd authored tarafından Caolán McNamara's avatar Caolán McNamara

fix debug=t build

Change-Id: Ib50349da406ecff9979ac1ab522272694b69c2de
üst e2ca2f84
...@@ -3276,12 +3276,6 @@ uno::Reference< text::XTextCursor > SwXTextFrame::createTextCursorByRange(const ...@@ -3276,12 +3276,6 @@ uno::Reference< text::XTextCursor > SwXTextFrame::createTextCursorByRange(const
if (pFmt && ::sw::XTextRangeToSwPaM(aPam, aTextPosition)) if (pFmt && ::sw::XTextRangeToSwPaM(aPam, aTextPosition))
{ {
SwNode& rNode = pFmt->GetCntnt().GetCntntIdx()->GetNode(); 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()) if(aPam.GetNode().FindFlyStartNode() == rNode.FindFlyStartNode())
{ {
aRef = static_cast<text::XWordCursor*>( aRef = static_cast<text::XWordCursor*>(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment