diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-14 09:49:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-14 14:22:24 +0200 |
commit | 2b2cd4b06ede56a23a564c62b0b68f9df16a5f55 (patch) | |
tree | 3910c75d5072e595a6d5a1d85c7e548d8e93adba /svx | |
parent | 6abc4f4d86d093d83d2ce6afb731d934fb2aa2bf (diff) |
convert SvxPrevLineSpace to scoped enum
Change-Id: I5903169e1d7728a2f1e547efdff82a75e8d7b6a7
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/paraprev.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/dialog/paraprev.cxx b/svx/source/dialog/paraprev.cxx index 817429bcadad..ef7013c59505 100644 --- a/svx/source/dialog/paraprev.cxx +++ b/svx/source/dialog/paraprev.cxx @@ -31,7 +31,7 @@ SvxParaPrevWindow::SvxParaPrevWindow( vcl::Window* pParent, WinBits nBits) : nLower ( 0 ), eAdjust ( SVX_ADJUST_LEFT ), eLastLine ( SVX_ADJUST_LEFT ), - eLine ( SVX_PREV_LINESPACE_1 ), + eLine ( SvxPrevLineSpace::N1 ), nLineVal ( 0 ) { @@ -118,17 +118,17 @@ void SvxParaPrevWindow::DrawParagraph(vcl::RenderContext& rRenderContext) { switch (eLine) { - case SVX_PREV_LINESPACE_1: + case SvxPrevLineSpace::N1: break; - case SVX_PREV_LINESPACE_15: + case SvxPrevLineSpace::N15: aPnt.Y() += nH / 2; break; - case SVX_PREV_LINESPACE_2: + case SvxPrevLineSpace::N2: aPnt.Y() += nH; break; - case SVX_PREV_LINESPACE_PROP: - case SVX_PREV_LINESPACE_MIN: - case SVX_PREV_LINESPACE_DURCH: + case SvxPrevLineSpace::Prop: + case SvxPrevLineSpace::Min: + case SvxPrevLineSpace::Leading: break; } } |