summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 01:20:46 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-20 01:20:46 +0000
commitdd37a9aebc9c8f80db1382528e0aaaed36ba0d40 (patch)
tree86eff77105714f2507a32eab0015aa7d3bd6f6e8 /canvas
parent80c01e1cbd23976d2a1212d210f67cbe7b8b4bf0 (diff)
INTEGRATION: CWS warnings01 (1.8.8); FILE MERGED
2006/02/22 22:27:26 thb 1.8.8.1: #i55991# Removed virtual derivations, where unnecessary; removed unused params; renamed vars which shadowed previous ones; put agg headers into sys header brackets
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/vcl/impltools.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/canvas/source/vcl/impltools.cxx b/canvas/source/vcl/impltools.cxx
index d2a4b9db4bce..1815660874d3 100644
--- a/canvas/source/vcl/impltools.cxx
+++ b/canvas/source/vcl/impltools.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: impltools.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: kz $ $Date: 2005-11-02 13:01:27 $
+ * last change: $Author: hr $ $Date: 2006-06-20 02:20:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -100,7 +100,7 @@ namespace vclcanvas
{
sal_Int64 nPtr = xTunnel->getSomething( vcl::unotools::getTunnelIdentifier( vcl::unotools::Id_BitmapEx ) );
if( nPtr )
- return BitmapEx( *(BitmapEx*)nPtr );
+ return BitmapEx( *reinterpret_cast<BitmapEx*>(sal::static_int_cast<sal_uIntPtr>(nPtr)) );
}
// TODO(F1): extract pixel from XBitmap interface
ENSURE_AND_THROW( false,