diff options
author | Noel Grandin <noel@peralex.com> | 2016-08-24 10:32:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-08-25 08:40:00 +0200 |
commit | f9f3426e8210329efdabfc3151c778d649fec129 (patch) | |
tree | d93e9a4e2f1405801d0d51b249c21cdcd94c2bbf /sw | |
parent | ce7eb4c7cbbd48301bbe0c07c42a089271d485d3 (diff) |
convert RefMode to scoped enum
Change-Id: I4ecaeaa1fb4989576cb7322048c8ec3a3f3080ae
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/paintfrm.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/layout/paintfrm.cxx b/sw/source/core/layout/paintfrm.cxx index 21008a95aa79..a3043d437b16 100644 --- a/sw/source/core/layout/paintfrm.cxx +++ b/sw/source/core/layout/paintfrm.cxx @@ -2994,10 +2994,10 @@ void SwTabFramePainter::Insert( const SwFrame& rFrame, const SvxBoxItem& rBoxIte const SwTwips nTop = aBorderRect.Top_(); const SwTwips nBottom = aBorderRect.Bottom_(); - aL.SetRefMode( svx::frame::REFMODE_CENTERED ); - aR.SetRefMode( svx::frame::REFMODE_CENTERED ); - aT.SetRefMode( !bVert ? svx::frame::REFMODE_BEGIN : svx::frame::REFMODE_END ); - aB.SetRefMode( !bVert ? svx::frame::REFMODE_BEGIN : svx::frame::REFMODE_END ); + aL.SetRefMode( svx::frame::RefMode::Centered ); + aR.SetRefMode( svx::frame::RefMode::Centered ); + aT.SetRefMode( !bVert ? svx::frame::RefMode::Begin : svx::frame::RefMode::End ); + aB.SetRefMode( !bVert ? svx::frame::RefMode::Begin : svx::frame::RefMode::End ); SwLineEntry aLeft (nLeft, nTop, nBottom, (bVert) ? aB : ((bR2L) ? aR : aL)); |