summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-08 11:39:20 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-12 08:53:34 +0100
commit0441206f22ee4abb6ee762099d4658bce97a9706 (patch)
tree51e61553467fecdf5132a3049bd392fec79c7d8a
parent72137b44ff5db6893bf49277ab4d99b16365c34f (diff)
WaE: multi-character character constant
-rw-r--r--dtrans/source/win32/dtobj/FmtFilter.cxx2
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;