diff options
Diffstat (limited to 'sw/source/uibase/utlui/uitool.cxx')
-rw-r--r-- | sw/source/uibase/utlui/uitool.cxx | 4 |
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 |