diff options
author | Oliver Bolte <obo@openoffice.org> | 2007-07-17 13:24:45 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2007-07-17 13:24:45 +0000 |
commit | 3eed9ddd8dcfa559b2d3490889e6a0f79cbc141e (patch) | |
tree | 1ef0f94109083c07d98c86212d39d314a1df54a4 | |
parent | 6fb8bb9f6a363e783d0db6f93eab256dbb076654 (diff) |
INTEGRATION: CWS presfixes12 (1.2.76); FILE MERGED
2007/02/02 09:21:53 thb 1.2.76.1: #i37778# Changed old-style int casts to sal::static_int_cast; changed (double)x casts to double(x) initializations
-rw-r--r-- | canvas/source/tools/surfacerect.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/tools/surfacerect.hxx b/canvas/source/tools/surfacerect.hxx index a0a3e7100685..66246bbab243 100644 --- a/canvas/source/tools/surfacerect.hxx +++ b/canvas/source/tools/surfacerect.hxx @@ -4,9 +4,9 @@ * * $RCSfile: surfacerect.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kz $ $Date: 2005-11-02 12:56:27 $ + * last change: $Author: obo $ $Date: 2007-07-17 14:24:45 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -147,7 +147,7 @@ namespace canvas sal_uInt64 getArea() const { - return (sal_uInt64)maSize.getX()*maSize.getY(); + return sal::static_int_cast<sal_uInt64>(maSize.getX()*maSize.getY()); } }; } |