summaryrefslogtreecommitdiff
path: root/sw/source/ui/dbui/dbinsdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dbui/dbinsdlg.cxx')
-rw-r--r--sw/source/ui/dbui/dbinsdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx
index b4487598e7fa..8a0a68a6674a 100644
--- a/sw/source/ui/dbui/dbinsdlg.cxx
+++ b/sw/source/ui/dbui/dbinsdlg.cxx
@@ -719,8 +719,8 @@ IMPL_LINK( SwInsertDBColAutoPilot, TableFormatHdl, Button*, pButton, void )
else
nWidth = rSh.GetAnyCurRect(
(FrameTypeFlags::FLY_ANY & rSh.GetFrameType( nullptr, true ))
- ? RECT_FLY_PRT_EMBEDDED
- : RECT_PAGE_PRT ).Width();
+ ? CurRectType::FlyEmbeddedPrt
+ : CurRectType::PagePrt ).Width();
SwTabCols aTabCols;
aTabCols.SetRight( nWidth );