diff options
author | David Tardon <dtardon@redhat.com> | 2012-03-08 11:39:20 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-03-12 08:53:34 +0100 |
commit | 0441206f22ee4abb6ee762099d4658bce97a9706 (patch) | |
tree | 51e61553467fecdf5132a3049bd392fec79c7d8a /dtrans/source/win32 | |
parent | suppress errors with -Werror (diff) | |
download | core-0441206f22ee4abb6ee762099d4658bce97a9706.tar.gz core-0441206f22ee4abb6ee762099d4658bce97a9706.zip |
WaE: multi-character character constant
Diffstat (limited to 'dtrans/source/win32')
-rw-r--r-- | dtrans/source/win32/dtobj/FmtFilter.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrans/source/win32/dtobj/FmtFilter.cxx b/dtrans/source/win32/dtobj/FmtFilter.cxx index 4093e92d685c..f6880d8f0aa3 100644 --- a/dtrans/source/win32/dtobj/FmtFilter.cxx +++ b/dtrans/source/win32/dtobj/FmtFilter.cxx @@ -215,7 +215,7 @@ Sequence< sal_Int8 > SAL_CALL WinDIBToOOBMP( const Sequence< sal_Int8 >& aWinDIB else if( ( BI_BITFIELDS == pBmpInfoHdr->biCompression ) && ( ( 16 == pBmpInfoHdr->biBitCount ) || ( 32 == pBmpInfoHdr->biBitCount ) ) ) nOffset += 12; - pBmpFileHdr->bfType = 'MB'; + pBmpFileHdr->bfType = ('M' << 8) | 'B'; pBmpFileHdr->bfSize = 0; // maybe: nMemSize + sizeof(BITMAPFILEHEADER) pBmpFileHdr->bfReserved1 = 0; pBmpFileHdr->bfReserved2 = 0; |