From 64f3ccfb2d576592998dd81e5cd1ffd89eff0e36 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 31 Jan 2010 02:52:34 +0000 Subject: cvHighlight should be icoHighlight git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1082651 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- filters/kword/msword/texthandler.cpp | 4 ++-- 1 file 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() ); -- cgit v1.2.1