diff options
author | Radu Ioan <ioan.radu.g@gmail.com> | 2014-12-05 20:09:01 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-12-11 18:31:01 +0100 |
commit | c69f481d792c7b121479d024cf675f6ddb747422 (patch) | |
tree | 43f8c056312a1f97ed09c0a309a3c897c74b51b5 /svx/source/sdr | |
parent | fbe9accf36ac4c52ef5bcb84d455b4d06c317668 (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 'svx/source/sdr')
-rw-r--r-- | svx/source/sdr/primitive2d/sdrattributecreator.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/sdr/primitive2d/sdrattributecreator.cxx b/svx/source/sdr/primitive2d/sdrattributecreator.cxx index 35fe3354574e..94db008d6b49 100644 --- a/svx/source/sdr/primitive2d/sdrattributecreator.cxx +++ b/svx/source/sdr/primitive2d/sdrattributecreator.cxx @@ -82,33 +82,33 @@ namespace drawinglayer { namespace { - attribute::GradientStyle XGradientStyleToGradientStyle(XGradientStyle eStyle) + attribute::GradientStyle XGradientStyleToGradientStyle(css::awt::GradientStyle eStyle) { switch(eStyle) { - case XGRAD_LINEAR : + case css::awt::GradientStyle_LINEAR : { return attribute::GRADIENTSTYLE_LINEAR; } - case XGRAD_AXIAL : + case css::awt::GradientStyle_AXIAL : { return attribute::GRADIENTSTYLE_AXIAL; } - case XGRAD_RADIAL : + case css::awt::GradientStyle_RADIAL : { return attribute::GRADIENTSTYLE_RADIAL; } - case XGRAD_ELLIPTICAL : + case css::awt::GradientStyle_ELLIPTICAL : { return attribute::GRADIENTSTYLE_ELLIPTICAL; } - case XGRAD_SQUARE : + case css::awt::GradientStyle_SQUARE : { return attribute::GRADIENTSTYLE_SQUARE; } default : { - return attribute::GRADIENTSTYLE_RECT; // XGRAD_RECT + return attribute::GRADIENTSTYLE_RECT; // css::awt::GradientStyle_RECT } } } |