[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice-devel
Subject: koffice/filters/kword/libexport
From: Nicolas Goutte <nicolasg () snafu ! de>
Date: 2004-02-05 12:21:33
Message-ID: 20040205122133.537369914 () office ! kde ! org
[Download RAW message or body]
CVS commit by goutte:
Process <LINESPACING> 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 <goutte@kde.org>
+ Copyright (C) 2001, 2002, 2004 Nicolas GOUTTE <goutte@kde.org>
Copyright (c) 2001 IABG mbH. All rights reserved.
Contact: Wolf-Michael Bolle <Bolle@IABG.de>
@@ -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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic