INTEGRATION: CWS warnings01 (1.2.8); FILE MERGED

2005/11/15 16:51:47 thb 1.2.8.1: #i55991# made code compile without warnings for gcc
This commit is contained in:
Jens-Heiner Rechtien
2006-06-20 01:18:19 +00:00
parent fbfdd2bd25
commit f62d8a28f2

View File

@@ -4,9 +4,9 @@
* *
* $RCSfile: pagemanager.cxx,v $ * $RCSfile: pagemanager.cxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: kz $ $Date: 2005-11-02 12:54:17 $ * last change: $Author: hr $ $Date: 2006-06-20 02:18:19 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@@ -142,8 +142,8 @@ namespace canvas
{ {
if(!((*it)->isNaked())) if(!((*it)->isNaked()))
{ {
const ::basegfx::B2ISize& rSize((*it)->getSize()); const ::basegfx::B2ISize& rCandidateSize((*it)->getSize());
const sal_uInt32 nArea(rSize.getX()*rSize.getY()); const sal_uInt32 nArea(rCandidateSize.getX()*rCandidateSize.getY());
if(nArea > nMaxArea) if(nArea > nMaxArea)
{ {
candidate=it; candidate=it;