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 /sw | |
parent | 78deb81c55266d37e35ff97fbb5b4086245d8ff2 (diff) |
convert SAL_LAYOUT flags to scoped enum
Change-Id: I0aeea1f32136e43e90a1afb0ea84dbaff2b77587
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/txtnode/fntcache.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/fntcache.cxx b/sw/source/core/txtnode/fntcache.cxx index 0bf13ebfaeab..6e0fa91df9fe 100644 --- a/sw/source/core/txtnode/fntcache.cxx +++ b/sw/source/core/txtnode/fntcache.cxx @@ -1559,7 +1559,7 @@ void SwFntObj::DrawText( SwDrawTextInfo &rInf ) #if defined(MACOSX) || defined(IOS) rInf.GetOut().DrawTextArray( aTextOriginPos, rInf.GetText(), - pKernArray, rInf.GetIdx(), 1, bBullet ? SAL_LAYOUT_DRAW_BULLET : 0 ); + pKernArray, rInf.GetIdx(), 1, bBullet ? SalLayoutFlags::DrawBullet : 0 ); #else rInf.GetOut().DrawTextArray( aTextOriginPos, rInf.GetText(), pKernArray, rInf.GetIdx(), 1 ); @@ -1749,7 +1749,7 @@ void SwFntObj::DrawText( SwDrawTextInfo &rInf ) #if defined(MACOSX) || defined(IOS) rInf.GetOut().DrawTextArray( aTextOriginPos, *pStr, pKernArray + nOffs, - rInf.GetIdx() + nOffs , nLen - nOffs, bBullet ? SAL_LAYOUT_DRAW_BULLET : 0 ); + rInf.GetIdx() + nOffs , nLen - nOffs, bBullet ? SalLayoutFlags::DrawBullet : 0 ); #else // If we paint bullets instead of spaces, we use a copy of // the paragraph string. For the layout engine, the copy |