summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-31 02:52:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-31 02:52:34 +0000
commit64f3ccfb2d576592998dd81e5cd1ffd89eff0e36 (patch)
tree028cb76ddc95ee56d0bf94c7a7d22f92631ca6be
parent95b2985759bd19e22e647487ff9eac16a2b21a73 (diff)
downloadkoffice-64f3ccfb.tar.gz
koffice-64f3ccfb.zip
cvHighlight should be icoHighlight
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1082651 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--filters/kword/msword/texthandler.cpp4
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() );