fix debug=t build
Change-Id: Ib50349da406ecff9979ac1ab522272694b69c2de
This commit is contained in:
@@ -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*>(
|
||||||
|
Reference in New Issue
Block a user