diff options
Diffstat (limited to 'vcl/win/inc/salbmp.h')
-rw-r--r-- | vcl/win/inc/salbmp.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/win/inc/salbmp.h b/vcl/win/inc/salbmp.h index 466dadce0c46..9ae4b4bef2ca 100644 --- a/vcl/win/inc/salbmp.h +++ b/vcl/win/inc/salbmp.h @@ -50,16 +50,16 @@ private: Size maSize; HGLOBAL mhDIB; HBITMAP mhDDB; - USHORT mnBitCount; + sal_uInt16 mnBitCount; public: HGLOBAL ImplGethDIB() const { return mhDIB; } HBITMAP ImplGethDDB() const { return mhDDB; } - static HGLOBAL ImplCreateDIB( const Size& rSize, USHORT nBitCount, const BitmapPalette& rPal ); + static HGLOBAL ImplCreateDIB( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal ); static HANDLE ImplCopyDIBOrDDB( HANDLE hHdl, bool bDIB ); - static USHORT ImplGetDIBColorCount( HGLOBAL hDIB ); + static sal_uInt16 ImplGetDIBColorCount( HGLOBAL hDIB ); static void ImplDecodeRLEBuffer( const BYTE* pSrcBuf, BYTE* pDstBuf, const Size& rSizePixel, bool bRLE4 ); @@ -71,10 +71,10 @@ public: public: bool Create( HANDLE hBitmap, bool bDIB, bool bCopyHandle ); - virtual bool Create( const Size& rSize, USHORT nBitCount, const BitmapPalette& rPal ); + virtual bool Create( const Size& rSize, sal_uInt16 nBitCount, const BitmapPalette& rPal ); virtual bool Create( const SalBitmap& rSalBmpImpl ); virtual bool Create( const SalBitmap& rSalBmpImpl, SalGraphics* pGraphics ); - virtual bool Create( const SalBitmap& rSalBmpImpl, USHORT nNewBitCount ); + virtual bool Create( const SalBitmap& rSalBmpImpl, sal_uInt16 nNewBitCount ); virtual bool Create( const ::com::sun::star::uno::Reference< ::com::sun::star::rendering::XBitmapCanvas > xBitmapCanvas, Size& rSize, bool bMask = false ); @@ -82,7 +82,7 @@ public: virtual void Destroy(); virtual Size GetSize() const { return maSize; } - virtual USHORT GetBitCount() const { return mnBitCount; } + virtual sal_uInt16 GetBitCount() const { return mnBitCount; } virtual BitmapBuffer* AcquireBuffer( bool bReadOnly ); virtual void ReleaseBuffer( BitmapBuffer* pBuffer, bool bReadOnly ); |