summaryrefslogtreecommitdiff
path: root/vcl/coretext/salgdi2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/coretext/salgdi2.cxx')
-rw-r--r--vcl/coretext/salgdi2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/coretext/salgdi2.cxx b/vcl/coretext/salgdi2.cxx
index c99c90a02b18..909b5a973663 100644
--- a/vcl/coretext/salgdi2.cxx
+++ b/vcl/coretext/salgdi2.cxx
@@ -842,14 +842,14 @@ bool SvpSalGraphics::CheckContext()
" bufferSize=(" << bufferSize.getX() << "," << bufferSize.getY() << ")" );
switch( m_aDevice->getScanlineFormat() ) {
- case basebmp::Format::EIGHT_BIT_PAL:
+ case basebmp::FORMAT_EIGHT_BIT_PAL:
mrContext = CGBitmapContextCreate(pixelBuffer.get(),
bufferSize.getX(), bufferSize.getY(),
8, scanlineStride,
CGColorSpaceCreateDeviceGray(),
kCGImageAlphaNone);
break;
- case basebmp::Format::THIRTYTWO_BIT_TC_MASK_RGBA:
+ case basebmp::FORMAT_THIRTYTWO_BIT_TC_MASK_RGBA:
mrContext = CGBitmapContextCreate(pixelBuffer.get(),
bufferSize.getX(), bufferSize.getY(),
8, scanlineStride,
@@ -857,7 +857,7 @@ bool SvpSalGraphics::CheckContext()
kCGImageAlphaNoneSkipLast);
break;
default:
- SAL_INFO( "vcl.ios", "CheckContext: unsupported color format " << basebmp::Format::formatName( m_aDevice->getScanlineFormat() ) );
+ SAL_INFO( "vcl.ios", "CheckContext: unsupported color format " << basebmp::formatName( m_aDevice->getScanlineFormat() ) );
}
SAL_WARN_IF( mrContext == NULL, "vcl.ios", "CheckContext() failed" );