cvHighlight should be icoHighlight

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1082651 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 15 years ago
parent 95b2985759
commit 64f3ccfb2d

@ -436,11 +436,11 @@ void KWordTextHandler::writeFormat( QDomElement& parentElement, const wvWare::Wo
}
// background color is known as "highlight" in msword
if ( !refChp || refChp->fHighlight != chp->fHighlight || refChp->cvHighlight != chp->cvHighlight ) {
if ( !refChp || refChp->fHighlight != chp->fHighlight || refChp->icoHighlight != chp->icoHighlight ) {
QDomElement bgcolElem( mainDocument().createElement( "TEXTBACKGROUNDCOLOR" ) );
if ( chp->fHighlight )
{
QColor color = Conversion::color( chp->cvHighlight, -1 );
QColor color = Conversion::color( chp->icoHighlight, -1 );
bgcolElem.setAttribute( "red", color.red() );
bgcolElem.setAttribute( "blue", color.blue() );
bgcolElem.setAttribute( "green", color.green() );

Loading…
Cancel
Save