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 /sw/source/filter/ww8/rtfattributeoutput.cxx | |
parent | desktop: avoid loading to-be-recovered documents when recovery is disabled (diff) | |
download | core-c69f481d792c7b121479d024cf675f6ddb747422.tar.gz core-c69f481d792c7b121479d024cf675f6ddb747422.zip |
fdo#85486 - Clean up unnecessary enumerations from xenum.hxx
Removed XGradientStyle
Reviewed on:
https://gerrit.libreoffice.org/13320
Change-Id: Iff662c05105c3a939104f658f2d0be7d8cb57995
Diffstat (limited to 'sw/source/filter/ww8/rtfattributeoutput.cxx')
-rw-r--r-- | sw/source/filter/ww8/rtfattributeoutput.cxx | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.cxx b/sw/source/filter/ww8/rtfattributeoutput.cxx index 80959d7fa06a..ea0bd99ce71e 100644 --- a/sw/source/filter/ww8/rtfattributeoutput.cxx +++ b/sw/source/filter/ww8/rtfattributeoutput.cxx @@ -3096,18 +3096,20 @@ void RtfAttributeOutput::FormatFillGradient(const XFillGradientItem& rFillGradie switch (rGradient.GetGradientStyle()) { - case XGRAD_LINEAR: + case css::awt::GradientStyle_LINEAR: break; - case XGRAD_AXIAL: + case css::awt::GradientStyle_AXIAL: m_aFlyProperties.push_back(std::make_pair<OString, OString>("fillFocus", OString::number(50))); break; - case XGRAD_RADIAL: + case css::awt::GradientStyle_RADIAL: break; - case XGRAD_ELLIPTICAL: + case css::awt::GradientStyle_ELLIPTICAL: break; - case XGRAD_SQUARE: + case css::awt::GradientStyle_SQUARE: break; - case XGRAD_RECT: + case css::awt::GradientStyle_RECT: + break; + default: break; } } |