diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-07-12 12:25:39 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-07-12 14:41:35 +0200 |
commit | d8dbf1b5dbfa0db2d765063a1d848d031835398a (patch) | |
tree | 0afe6c5fed33be4f42d61c36e92afc697a2e3eba /vcl/coretext | |
parent | b00a99e4af0cf47642a139778a230cc61d1347d9 (diff) |
Turn basebmp::Format into a proper enum
Change-Id: I4067c5039c7b5c74a1c144721dd7260de54dd2bf
Diffstat (limited to 'vcl/coretext')
-rw-r--r-- | vcl/coretext/salgdi2.cxx | 6 |
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" ); |