diff options
-rw-r--r-- | filters/kword/msword/texthandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filters/kword/msword/texthandler.cpp b/filters/kword/msword/texthandler.cpp index 4b0189bb..c9586da4 100644 --- a/filters/kword/msword/texthandler.cpp +++ b/filters/kword/msword/texthandler.cpp @@ -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() ); |