summaryrefslogtreecommitdiff
path: root/canvas/source/vcl/canvasbitmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'canvas/source/vcl/canvasbitmap.cxx')
-rw-r--r--canvas/source/vcl/canvasbitmap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/vcl/canvasbitmap.cxx b/canvas/source/vcl/canvasbitmap.cxx
index 38008e86ba87..2b244602e3fd 100644
--- a/canvas/source/vcl/canvasbitmap.cxx
+++ b/canvas/source/vcl/canvasbitmap.cxx
@@ -49,7 +49,7 @@ namespace vclcanvas
{
// create bitmap for given reference device
// ========================================
- const USHORT nBitCount( (USHORT)24U );
+ const sal_uInt16 nBitCount( (sal_uInt16)24U );
const BitmapPalette* pPalette = NULL;
Bitmap aBitmap( rSize, nBitCount, pPalette );