summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxgraphics.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxgraphics.cxx')
-rw-r--r--toolkit/source/awt/vclxgraphics.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxgraphics.cxx b/toolkit/source/awt/vclxgraphics.cxx
index 72ce78fb4fd1..5b6cf29334c5 100644
--- a/toolkit/source/awt/vclxgraphics.cxx
+++ b/toolkit/source/awt/vclxgraphics.cxx
@@ -287,13 +287,13 @@ void VCLXGraphics::draw( const uno::Reference< awt::XDisplayBitmap >& rxBitmapHa
if(nDestWidth != nSourceWidth)
{
float zoomX = static_cast<float>(nDestWidth) / static_cast<float>(nSourceWidth);
- aSz.setWidth( static_cast<long>(static_cast<float>(aSz.Width()) * zoomX) );
+ aSz.setWidth( static_cast<tools::Long>(static_cast<float>(aSz.Width()) * zoomX) );
}
if(nDestHeight != nSourceHeight)
{
float zoomY = static_cast<float>(nDestHeight) / static_cast<float>(nSourceHeight);
- aSz.setHeight( static_cast<long>(static_cast<float>(aSz.Height()) * zoomY) );
+ aSz.setHeight( static_cast<tools::Long>(static_cast<float>(aSz.Height()) * zoomY) );
}
if(nSourceX || nSourceY || aSz.Width() != nSourceWidth || aSz.Height() != nSourceHeight)