Kaydet (Commit) 3d59c463 authored tarafından Michael Stahl's avatar Michael Stahl

sw_redlinehide_3: adapt SwFEShell::GetNumRuleNodeAtPos()/IsNumLabel()

Change-Id: Ifd65b7b294cd7bc2a93c9e574712dce200bdfcf3
üst 6adf6314
...@@ -1304,7 +1304,7 @@ bool SwCursorShell::GetContentAtPos( const Point& rPt, ...@@ -1304,7 +1304,7 @@ bool SwCursorShell::GetContentAtPos( const Point& rPt,
&& IsAttrAtPos::NumLabel & rContentAtPos.eContentAtPos) && IsAttrAtPos::NumLabel & rContentAtPos.eContentAtPos)
{ {
bRet = aTmpState.m_bInNumPortion; bRet = aTmpState.m_bInNumPortion;
rContentAtPos.aFnd.pNode = pTextNd; rContentAtPos.aFnd.pNode = sw::GetParaPropsNode(*GetLayout(), aPos.nNode);
Size aSizeLogic(aTmpState.m_nInNumPortionOffset, 0); Size aSizeLogic(aTmpState.m_nInNumPortionOffset, 0);
Size aSizePixel = GetWin()->LogicToPixel(aSizeLogic); Size aSizePixel = GetWin()->LogicToPixel(aSizeLogic);
......
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