Kaydet (Commit) 2df9a255 authored tarafından Michael Stahl's avatar Michael Stahl

lcl_checkFrameBtlr: use SwTxtNode::GetTxtAttrAt

... which also finds the hint if it's not the first one in the array.

Change-Id: I5ff61305bcc896de0269c5bf47b237dce00142c4
üst 8076eebf
......@@ -324,7 +324,7 @@ bool lcl_checkFrameBtlr(SwNode* pStartNode, sax_fastparser::FastAttributeList* p
if (!pTxtNode->HasHints())
return false;
SwTxtAttr* pTxtAttr = pTxtNode->GetSwpHints().GetStart(0);
SwTxtAttr* pTxtAttr = pTxtNode->GetTxtAttrAt(0, RES_TXTATR_AUTOFMT);
if (!pTxtAttr || pTxtAttr->Which() != RES_TXTATR_AUTOFMT)
return false;
......
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