summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/ssfrm.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-08 08:58:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-08 09:07:34 +0000
commit1f4e0359d3cee2780944f64025a63c208720c74d (patch)
treef99934a01892ede88b5213655de481919e5edfab /sw/source/core/layout/ssfrm.cxx
parent9cacb6ad9f5a012bc892cf9893cd8d37a2a5f304 (diff)
convert SvxShadowLocation to scoped enum
Change-Id: Ie51995579312328538263172cd3173641df89bca Reviewed-on: https://gerrit.libreoffice.org/34965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/core/layout/ssfrm.cxx')
-rw-r--r--sw/source/core/layout/ssfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/ssfrm.cxx b/sw/source/core/layout/ssfrm.cxx
index 1898c05a2d29..2a4fd7421347 100644
--- a/sw/source/core/layout/ssfrm.cxx
+++ b/sw/source/core/layout/ssfrm.cxx
@@ -677,7 +677,7 @@ const SwRect SwFrame::UnionFrame( bool bBorder ) const
nAdd += rBox.CalcLineSpace( SvxBoxItemLine::RIGHT );
else if ( rAttrs.IsBorderDist() )
nAdd += rBox.GetDistance( SvxBoxItemLine::RIGHT ) + 1;
- if( rAttrs.GetShadow().GetLocation() != SVX_SHADOW_NONE )
+ if( rAttrs.GetShadow().GetLocation() != SvxShadowLocation::NONE )
{
const SvxShadowItem &rShadow = rAttrs.GetShadow();
nLeft -= rShadow.CalcShadowSpace( SvxShadowItemSide::LEFT );