summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--basebmp/source/bitmapdevice.cxx8
-rw-r--r--include/basebmp/rgbmaskpixelformats.hxx24
2 files changed, 16 insertions, 16 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index 60ad322fc1cb..a9fe6a1a3fb7 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -2092,22 +2092,22 @@ BitmapDeviceSharedPtr createBitmapDeviceImplInner( const basegfx::B2IVector&
// thirtytwo bit formats
case FORMAT_THIRTYTWO_BIT_TC_MASK_BGRA:
- return createRenderer<PixelFormatTraits_BGRX32_8888,StdMasks>(
+ return createRenderer<PixelFormatTraits_BGRA32_8888,StdMasks>(
aBounds, rSize, nScanlineFormat, nScanlineStride,
pFirstScanline, pMem, pPal, rDamage );
case FORMAT_THIRTYTWO_BIT_TC_MASK_ARGB:
- return createRenderer<PixelFormatTraits_XRGB32_8888,StdMasks>(
+ return createRenderer<PixelFormatTraits_ARGB32_8888,StdMasks>(
aBounds, rSize, nScanlineFormat, nScanlineStride,
pFirstScanline, pMem, pPal, rDamage );
case FORMAT_THIRTYTWO_BIT_TC_MASK_ABGR:
- return createRenderer<PixelFormatTraits_XBGR32_8888,StdMasks>(
+ return createRenderer<PixelFormatTraits_ABGR32_8888,StdMasks>(
aBounds, rSize, nScanlineFormat, nScanlineStride,
pFirstScanline, pMem, pPal, rDamage );
case FORMAT_THIRTYTWO_BIT_TC_MASK_RGBA:
- return createRenderer<PixelFormatTraits_RGBX32_8888,StdMasks>(
+ return createRenderer<PixelFormatTraits_RGBA32_8888,StdMasks>(
aBounds, rSize, nScanlineFormat, nScanlineStride,
pFirstScanline, pMem, pPal, rDamage );
diff --git a/include/basebmp/rgbmaskpixelformats.hxx b/include/basebmp/rgbmaskpixelformats.hxx
index eaee275554c2..5d80fae7b4f1 100644
--- a/include/basebmp/rgbmaskpixelformats.hxx
+++ b/include/basebmp/rgbmaskpixelformats.hxx
@@ -296,9 +296,9 @@ typedef PixelFormatTraitsTemplate_RGBMask<
0x00FF0000,
0x0000FF00,
0x000000FF,
- BASEBMP_TRUECOLORMASK_LSB_SWAP > PixelFormatTraits_BGRX32_8888;
-BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_BGRX32_8888::getter_type,
- PixelFormatTraits_BGRX32_8888::setter_type);
+ BASEBMP_TRUECOLORMASK_LSB_SWAP > PixelFormatTraits_BGRA32_8888;
+BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_BGRA32_8888::getter_type,
+ PixelFormatTraits_BGRA32_8888::setter_type);
// This one used to be called PixelFormatTraits_BGR32_888.
@@ -308,9 +308,9 @@ typedef PixelFormatTraitsTemplate_RGBMask<
0x00FF0000,
0x0000FF00,
0x000000FF,
- BASEBMP_TRUECOLORMASK_MSB_SWAP > PixelFormatTraits_XRGB32_8888;
-BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_XRGB32_8888::getter_type,
- PixelFormatTraits_XRGB32_8888::setter_type);
+ BASEBMP_TRUECOLORMASK_MSB_SWAP > PixelFormatTraits_ARGB32_8888;
+BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_ARGB32_8888::getter_type,
+ PixelFormatTraits_ARGB32_8888::setter_type);
// The following two ones were added for Android needs and for completeness
@@ -320,9 +320,9 @@ typedef PixelFormatTraitsTemplate_RGBMask<
0xFF000000,
0x00FF0000,
0x0000FF00,
- BASEBMP_TRUECOLORMASK_LSB_SWAP > PixelFormatTraits_XBGR32_8888;
-BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_XBGR32_8888::getter_type,
- PixelFormatTraits_XBGR32_8888::setter_type);
+ BASEBMP_TRUECOLORMASK_LSB_SWAP > PixelFormatTraits_ABGR32_8888;
+BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_ABGR32_8888::getter_type,
+ PixelFormatTraits_ABGR32_8888::setter_type);
typedef PixelFormatTraitsTemplate_RGBMask<
sal_uInt32,
@@ -330,9 +330,9 @@ typedef PixelFormatTraitsTemplate_RGBMask<
0xFF000000,
0x00FF0000,
0x0000FF00,
- BASEBMP_TRUECOLORMASK_MSB_SWAP > PixelFormatTraits_RGBX32_8888;
-BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_RGBX32_8888::getter_type,
- PixelFormatTraits_RGBX32_8888::setter_type);
+ BASEBMP_TRUECOLORMASK_MSB_SWAP > PixelFormatTraits_RGBA32_8888;
+BASEBMP_SPECIALIZE_ACCESSORTRAITS(PixelFormatTraits_RGBA32_8888::getter_type,
+ PixelFormatTraits_RGBA32_8888::setter_type);
// The following hybrid 24bits used out of 32bit was added for Cairo needs