summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorRadu Ioan <ioan.radu.g@gmail.com>2014-12-05 20:09:01 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-12-11 18:31:01 +0100
commitc69f481d792c7b121479d024cf675f6ddb747422 (patch)
tree43f8c056312a1f97ed09c0a309a3c897c74b51b5 /filter
parentfbe9accf36ac4c52ef5bcb84d455b4d06c317668 (diff)
fdo#85486 - Clean up unnecessary enumerations from xenum.hxx
Removed XGradientStyle Reviewed on: https://gerrit.libreoffice.org/13320 Change-Id: Iff662c05105c3a939104f658f2d0be7d8cb57995
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/msdffimp.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index f62cc97ff7df..b4fb2f16e375 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -2798,7 +2798,7 @@ void DffPropertyReader::ImportGradientColor( SfxItemSet& aSet,MSO_FillType eMSO_
while ( nAngle >= 3600 ) nAngle -= 3600;
while ( nAngle < 0 ) nAngle += 3600;
- XGradientStyle eGrad = XGRAD_LINEAR;
+ css::awt::GradientStyle eGrad = css::awt::GradientStyle_LINEAR;
sal_Int32 nFocus = GetPropertyValue( DFF_Prop_fillFocus, 0 );
if ( !nFocus )
@@ -2811,7 +2811,7 @@ void DffPropertyReader::ImportGradientColor( SfxItemSet& aSet,MSO_FillType eMSO_
if( nFocus > 40 && nFocus < 60 )
{
- eGrad = XGRAD_AXIAL;//A axial gradient other than linear
+ eGrad = css::awt::GradientStyle_AXIAL;//A axial gradient other than linear
nChgColors ^= 1;
}
//if the type is linear or axial, just save focus to nFocusX and nFocusY for export
@@ -2823,14 +2823,14 @@ void DffPropertyReader::ImportGradientColor( SfxItemSet& aSet,MSO_FillType eMSO_
{
case mso_fillShadeShape :
{
- eGrad = XGRAD_RECT;
+ eGrad = css::awt::GradientStyle_RECT;
nFocusY = nFocusX = 50;
nChgColors ^= 1;
}
break;
case mso_fillShadeCenter :
{
- eGrad = XGRAD_RECT;
+ eGrad = css::awt::GradientStyle_RECT;
//A MS fillTo prop specifies the relative position of the left boundary
//of the center rectangle in a concentric shaded fill. Use 100 or 0 to keep fidelity
nFocusX=(GetPropertyValue( DFF_Prop_fillToRight, 0 )==0x10000) ? 100 : 0;