[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kword/part
From:       David Faure <faure () kde ! org>
Date:       2010-11-03 18:18:48
Message-ID: 20101103181848.D26D7AC89E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1192670 by dfaure:

Fix fallback code, this was obviously messed up by a non-careful search/replace.


 M  +2 -2      KWDLoader.cpp  


--- trunk/koffice/kword/part/KWDLoader.cpp #1192669:1192670
@@ -95,8 +95,8 @@
         kDebug(32001) << " height=" << pgLayout.height;
         if (pgLayout.width <= 0 || pgLayout.height <= 0) {
             // Old document?
-            pgLayout.width = paper.attribute("width").toDouble();
-            pgLayout.height = paper.attribute("height").toDouble();
+            pgLayout.width = paper.attribute("ptWidth").toDouble();
+            pgLayout.height = paper.attribute("ptHeight").toDouble();
             kDebug(32001) << " width2=" << pgLayout.width;
             kDebug(32001) << " height2=" << pgLayout.height;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic