diff options
author | Noel Grandin <noel@peralex.com> | 2015-05-15 11:05:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-20 09:52:08 +0200 |
commit | 7a0af37989d1f1b508a61f28e785c5b1f27d58af (patch) | |
tree | 758b9e8afed12bd028229c72bcb080264191219c /vcl/unx/generic/gdi | |
parent | 78deb81c55266d37e35ff97fbb5b4086245d8ff2 (diff) |
convert SAL_LAYOUT flags to scoped enum
Change-Id: I0aeea1f32136e43e90a1afb0ea84dbaff2b77587
Diffstat (limited to 'vcl/unx/generic/gdi')
-rw-r--r-- | vcl/unx/generic/gdi/cairotextrender.cxx | 2 | ||||
-rw-r--r-- | vcl/unx/generic/gdi/salvd.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/vcl/unx/generic/gdi/cairotextrender.cxx b/vcl/unx/generic/gdi/cairotextrender.cxx index 20fcc1d3b85f..a3248b72a395 100644 --- a/vcl/unx/generic/gdi/cairotextrender.cxx +++ b/vcl/unx/generic/gdi/cairotextrender.cxx @@ -548,7 +548,7 @@ SalLayout* CairoTextRender::GetTextLayout( ImplLayoutArgs& rArgs, int nFallbackL SalLayout* pLayout = NULL; if( mpServerFont[ nFallbackLevel ] - && !(rArgs.mnFlags & SAL_LAYOUT_DISABLE_GLYPH_PROCESSING) ) + && !(rArgs.mnFlags & SalLayoutFlags::DisableGlyphProcessing) ) { #if ENABLE_GRAPHITE // Is this a Graphite font? diff --git a/vcl/unx/generic/gdi/salvd.cxx b/vcl/unx/generic/gdi/salvd.cxx index 1b9d992e6fe5..f64612bd5197 100644 --- a/vcl/unx/generic/gdi/salvd.cxx +++ b/vcl/unx/generic/gdi/salvd.cxx @@ -150,7 +150,7 @@ X11SalVirtualDevice::X11SalVirtualDevice( SalGraphics* pGraphics, bDeleteColormap = true; } - pGraphics_->SetLayout( 0 ); // by default no! mirroring for VirtualDevices, can be enabled with EnableRTL() + pGraphics_->SetLayout( SalLayoutFlags::NONE ); // by default no! mirroring for VirtualDevices, can be enabled with EnableRTL() pGraphics_->Init( this, pColormap, bDeleteColormap ); } |