To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112395





------- Additional comments from gan...@openoffice.org Fri Nov 19 15:14:26 
+0000 2010 -------

What do you think about instead using notation (example):
    SvxRTFItemStackTypePtr pTmp = aSaveStack.empty() ? 0 : aSaveStack.back();
    if( pTmp && pTmp->GetSttNodeIdx() ==
            pPam->GetPoint()->nNode.GetIndex() &&
            pTmp->GetSttCnt() == nPos )
            pTmp->GetAttrSet().ClearItem( RES_CHRATR_ESCAPEMENT );

use following:

if (!aSaveStack.empty()) 
{
    SvxRTFItemStackTypePtr pTmp = aSaveStack.back();
    if( pTmp && pTmp->GetSttNodeIdx() ==
            pPam->GetPoint()->nNode.GetIndex() &&
            pTmp->GetSttCnt() == nPos )
            pTmp->GetAttrSet().ClearItem( RES_CHRATR_ESCAPEMENT );
}

I think it is a little more clear

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to