summaryrefslogtreecommitdiff
path: root/svx/source/dialog
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-11 16:57:46 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-13 07:52:24 +0000
commitb3d5da663ff09c72455a8d3bf9be7c00220271bb (patch)
tree53751d1a733a7de389f3cf71b5b7a08bda7c9b0c /svx/source/dialog
parent3581dde3246b2bcdeee079879090d2317adc8f63 (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')
-rw-r--r--svx/source/dialog/frmsel.cxx2
-rw-r--r--svx/source/dialog/svxruler.cxx8
2 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/dialog/frmsel.cxx b/svx/source/dialog/frmsel.cxx
index ecd0ebf47626..9f5e9cfe752a 100644
--- a/svx/source/dialog/frmsel.cxx
+++ b/svx/source/dialog/frmsel.cxx
@@ -689,7 +689,7 @@ void FrameSelectorImpl::DrawAllTrackingRects()
aPPoly.Optimize(PolyOptimizeFlags::CLOSE);
for(sal_uInt16 nIdx = 0, nCount = aPPoly.Count(); nIdx < nCount; ++nIdx)
- mrFrameSel.InvertTracking(aPPoly.GetObject(nIdx), SHOWTRACK_SMALL | SHOWTRACK_WINDOW);
+ mrFrameSel.InvertTracking(aPPoly.GetObject(nIdx), ShowTrackFlags::Small | ShowTrackFlags::TrackWindow);
}
Point FrameSelectorImpl::GetDevPosFromMousePos( const Point& rMousePos ) const
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 );
}
}
}