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:21:00 
+0000 2010 -------
/editeng/source/rtf/svxrtf.cxx
Instead use of:
    876 SvxRTFItemStackType* SvxRTFParser::_GetAttrSet( int bCopyAttr )
    877 {
    878         SvxRTFItemStackType* pAkt = aAttrStack.back();
    879         SvxRTFItemStackType* pNew;
    880         if( pAkt )
    881                 pNew = new SvxRTFItemStackType( *pAkt, *pInsPos, 
bCopyAttr );
    882         else
    883                 pNew = new SvxRTFItemStackType( *pAttrPool, 
aWhichMap.GetData(),
*pInsPos );


We could use just:

    876 SvxRTFItemStackType* SvxRTFParser::_GetAttrSet( int bCopyAttr )
    877 {
    879         SvxRTFItemStackType* pNew;
    880         if( !aAttrStack.empty() ) {
    +++                 SvxRTFItemStackType* pAkt = aAttrStack.back();
    881                 pNew = new SvxRTFItemStackType( *pAkt, *pInsPos, 
bCopyAttr );
    882         } else
    883                 pNew = new SvxRTFItemStackType( *pAttrPool, 
aWhichMap.GetData(),
*pInsPos );



---------------------------------------------------------------------
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