summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/uitool.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-10 15:03:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-13 08:17:42 +0200
commitb5c2f9dee910d26a07d3f796c882e6292ef5e8db (patch)
tree1ec38e7c6f56f7bd6ba8dbe7a96b7e2c6682d823 /sw/source/uibase/utlui/uitool.cxx
parente14aab54bdfec517aabea2c7afb5b36bd6ebc36b (diff)
convert CurRectType to scoped enum
and drop read-only enumerators RECT_OUTTABSECTION_PRT RECT_HEADERFOOTER_PRT Change-Id: I2d7d159cf5f1a2022c015e37df4aa71cae1e266c
Diffstat (limited to 'sw/source/uibase/utlui/uitool.cxx')
-rw-r--r--sw/source/uibase/utlui/uitool.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/utlui/uitool.cxx b/sw/source/uibase/utlui/uitool.cxx
index d40e71ce6fa7..4efd976b1bda 100644
--- a/sw/source/uibase/utlui/uitool.cxx
+++ b/sw/source/uibase/utlui/uitool.cxx
@@ -763,11 +763,11 @@ SwTwips GetTableWidth( SwFrameFormat* pFormat, SwTabCols& rCols, sal_uInt16 *pPe
{
if ( nullptr == pSh->GetFlyFrameFormat() )
{
- nWidth = pSh->GetAnyCurRect(RECT_PAGE_PRT).Width();
+ nWidth = pSh->GetAnyCurRect(CurRectType::PagePrt).Width();
}
else
{
- nWidth = pSh->GetAnyCurRect(RECT_FLY_PRT_EMBEDDED).Width();
+ nWidth = pSh->GetAnyCurRect(CurRectType::FlyEmbeddedPrt).Width();
}
}
else