diff options
author | Noel Grandin <noel@peralex.com> | 2016-05-11 16:57:46 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-05-13 07:52:24 +0000 |
commit | b3d5da663ff09c72455a8d3bf9be7c00220271bb (patch) | |
tree | 53751d1a733a7de389f3cf71b5b7a08bda7c9b0c /svx/source/dialog/svxruler.cxx | |
parent | 3581dde3246b2bcdeee079879090d2317adc8f63 (diff) |
convert SHOWTRACK to scoped enum
Change-Id: Ibf06f6c79f80d7265ae3239c1ea0088118e92e21
Reviewed-on: https://gerrit.libreoffice.org/24894
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/dialog/svxruler.cxx')
-rw-r--r-- | svx/source/dialog/svxruler.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/svxruler.cxx b/svx/source/dialog/svxruler.cxx index 38d59412bee6..efe4de316bd3 100644 --- a/svx/source/dialog/svxruler.cxx +++ b/svx/source/dialog/svxruler.cxx @@ -1587,7 +1587,7 @@ void SvxRuler::DrawLine_Impl(long& lTabPosition, int nNew, bool bHorizontal) pEditWin->InvertTracking( Rectangle( Point(lTabPosition, -aZero.Y()), Point(lTabPosition, -aZero.Y() + nHeight)), - SHOWTRACK_SPLIT | SHOWTRACK_CLIP ); + ShowTrackFlags::Split | ShowTrackFlags::Clip ); } if( nNew & 1 ) { @@ -1599,7 +1599,7 @@ void SvxRuler::DrawLine_Impl(long& lTabPosition, int nNew, bool bHorizontal) pEditWin->InvertTracking( Rectangle( Point(lTabPosition, -aZero.Y()), Point(lTabPosition, -aZero.Y() + nHeight) ), - SHOWTRACK_CLIP | SHOWTRACK_SPLIT ); + ShowTrackFlags::Clip | ShowTrackFlags::Split ); } } else @@ -1611,7 +1611,7 @@ void SvxRuler::DrawLine_Impl(long& lTabPosition, int nNew, bool bHorizontal) pEditWin->InvertTracking( Rectangle( Point(-aZero.X(), lTabPosition), Point(-aZero.X() + nWidth, lTabPosition)), - SHOWTRACK_SPLIT | SHOWTRACK_CLIP ); + ShowTrackFlags::Split | ShowTrackFlags::Clip ); } if(nNew & 1) @@ -1624,7 +1624,7 @@ void SvxRuler::DrawLine_Impl(long& lTabPosition, int nNew, bool bHorizontal) pEditWin->InvertTracking( Rectangle( Point(-aZero.X(), lTabPosition), Point(-aZero.X()+nWidth, lTabPosition)), - SHOWTRACK_CLIP | SHOWTRACK_SPLIT ); + ShowTrackFlags::Clip | ShowTrackFlags::Split ); } } } |