summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/wrtw8esh.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/filter/ww8/wrtw8esh.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/filter/ww8/wrtw8esh.cxx')
-rw-r--r--sw/source/filter/ww8/wrtw8esh.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx
index 3b7707d267d5..b6d7771cdcbe 100644
--- a/sw/source/filter/ww8/wrtw8esh.cxx
+++ b/sw/source/filter/ww8/wrtw8esh.cxx
@@ -2085,27 +2085,27 @@ sal_Int32 SwBasicEscherEx::WriteFlyFrameAttr(const SwFrameFormat& rFormat,
sal_uInt32 nShadow = nShadowType;
SvxShadowLocation eLocation = pSI->GetLocation();
- if( (eLocation!=SVX_SHADOW_NONE) && (pSI->GetWidth()!=0) )
+ if( (eLocation!=SvxShadowLocation::NONE) && (pSI->GetWidth()!=0) )
{
switch( eLocation )
{
- case SVX_SHADOW_TOPLEFT:
+ case SvxShadowLocation::TopLeft:
{
nOffX = -nOffX;
nOffY = -nOffY;
}
break;
- case SVX_SHADOW_TOPRIGHT:
+ case SvxShadowLocation::TopRight:
{
nOffY = -nOffY;
}
break;
- case SVX_SHADOW_BOTTOMLEFT:
+ case SvxShadowLocation::BottomLeft:
{
nOffX = -nOffX;
}
break;
- case SVX_SHADOW_BOTTOMRIGHT:
+ case SvxShadowLocation::BottomRight:
break;
default:
break;