[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kword/part
From: Thomas Zander <zander () kde ! org>
Date: 2006-09-28 11:37:25
Message-ID: 1159443445.693318.21324.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 589610 by zander:
Fix warnings
M +3 -3 KWView.cpp
--- trunk/koffice/kword/part/KWView.cpp #589609:589610
@@ -231,9 +231,9 @@
zoomer.setZoomAndResolution(100, resolution, resolution);
const int lastPage = m_document->lastPage();
KoInsets bleed = m_document->pageManager()->padding();
- const int bleedOffset = (int) clipToPage?0:POINT_TO_INCH(-bleed.left * resolution);
- const int bleedWidth = (int)clipToPage?0:POINT_TO_INCH((bleed.left + bleed.right) * resolution);
- const int bleedHeigt = (int)clipToPage?0:POINT_TO_INCH((bleed.top + bleed.bottom) * resolution);
+ const int bleedOffset = (int) (clipToPage?0:POINT_TO_INCH(-bleed.left * resolution));
+ const int bleedWidth = (int) (clipToPage?0:POINT_TO_INCH((bleed.left + bleed.right) * resolution));
+ const int bleedHeigt = (int) (clipToPage?0:POINT_TO_INCH((bleed.top + bleed.bottom) * resolution));
for(int pageNum=m_document->startPage(); pageNum <= lastPage; pageNum++) {
KWPage *page = m_document->pageManager()->page(pageNum);
// Note that Qt does not at this time allow us to alter the page size to an arbitairy size
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic