summaryrefslogtreecommitdiff
path: root/svx/source/sdr/primitive2d/sdrattributecreator.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2016-05-21 19:26:41 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-23 07:31:31 +0000
commit4a98af674c90de499909174af409d0e29cc155e2 (patch)
tree1b30c08b36349a937cd137c31189840cf9f587d1 /svx/source/sdr/primitive2d/sdrattributecreator.cxx
parent72ffb6f590293fb8d3ba428f1700dc05703b014f (diff)
Convert HatchStyle to scoped enum
Change-Id: I27878a67457d32e6922dfb6da73f896ff6ab1d01 Reviewed-on: https://gerrit.libreoffice.org/25271 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svx/source/sdr/primitive2d/sdrattributecreator.cxx')
-rw-r--r--svx/source/sdr/primitive2d/sdrattributecreator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/sdr/primitive2d/sdrattributecreator.cxx b/svx/source/sdr/primitive2d/sdrattributecreator.cxx
index 808bb9e176d7..97ee4c0175e5 100644
--- a/svx/source/sdr/primitive2d/sdrattributecreator.cxx
+++ b/svx/source/sdr/primitive2d/sdrattributecreator.cxx
@@ -119,15 +119,15 @@ namespace drawinglayer
{
case css::drawing::HatchStyle_SINGLE :
{
- return attribute::HATCHSTYLE_SINGLE;
+ return attribute::HatchStyle::Single;
}
case css::drawing::HatchStyle_DOUBLE :
{
- return attribute::HATCHSTYLE_DOUBLE;
+ return attribute::HatchStyle::Double;
}
default :
{
- return attribute::HATCHSTYLE_TRIPLE; // css::drawing::HatchStyle_TRIPLE
+ return attribute::HatchStyle::Triple; // css::drawing::HatchStyle_TRIPLE
}
}
}