summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-09-02 10:53:14 +0200
committerNoel Grandin <noel@peralex.com>2016-09-05 08:21:46 +0200
commit12569802394fb0a9850fcdb0647a0845a803f1ff (patch)
tree9f5a626852adbf00378fc3dc80475ad896d957f8 /sfx2
parent933c0679d64a5585ebfd233180a1a818b493eec5 (diff)
convert GradientStyle to scoped enum
Change-Id: Ib740da708612df7a5f4b8c82262b9b1bd436604d
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/sidebar/Theme.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx
index 0d760796dc3c..68586272f408 100644
--- a/sfx2/source/sidebar/Theme.cxx
+++ b/sfx2/source/sidebar/Theme.cxx
@@ -205,7 +205,7 @@ void Theme::UpdateTheme()
setPropertyValue(
maPropertyIdToNameMap[Paint_PanelTitleBarBackground],
Any(Tools::VclToAwtGradient(Gradient(
- GradientStyle_LINEAR,
+ GradientStyle::Linear,
aSecondColor.GetRGBColor(),
aBaseBackgroundColor.GetRGBColor()
))));
@@ -337,7 +337,7 @@ void Theme::UpdateTheme()
setPropertyValue(
maPropertyIdToNameMap[Paint_ToolBoxBackground],
Any(Tools::VclToAwtGradient(Gradient(
- GradientStyle_LINEAR,
+ GradientStyle::Linear,
aBaseBackgroundColor.GetRGBColor(),
aGradientStop2.GetRGBColor()
))));