CVS commit by goutte: Process correctly (The check about old/new syntax was wrong, making that the old syntax was always used.) CCMAIL:koffice-devel@kde.org This should be ported back, but first the export filters must be checked M +5 -5 ProcessDocument.cc 1.48 --- koffice/filters/kword/libexport/ProcessDocument.cc #1.47:1.48 @@ -1,7 +1,7 @@ -// $Header$ +// /* This file is part of the KDE project - Copyright (C) 2001, 2002 Nicolas GOUTTE + Copyright (C) 2001, 2002, 2004 Nicolas GOUTTE Copyright (c) 2001 IABG mbH. All rights reserved. Contact: Wolf-Michael Bolle @@ -734,8 +734,8 @@ static void ProcessLinespacingTag (QDomN ProcessAttributes (myNode, attrProcessingList); - // KWord pre-1.2 uses "value" attribute (stored in oldValue) - // while 1.2 uses "type" and "spacingvalue" + // KWord pre-1.2 uses only the "value" attribute (stored in oldValue) + // while 1.2 uses mainly "type" and "spacingvalue", while keeping "value" for compatibility - if( !oldValue.isEmpty() ) + if ( spacingType.isEmpty() ) { // for old format _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org https://mail.kde.org/mailman/listinfo/koffice-devel