summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorRadu Ioan <ioan.radu.g@gmail.com>2014-12-11 23:45:38 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-12-12 20:22:15 +0000
commit3c77eba67b61b4f78f2c8ccec6c78622ee173b61 (patch)
tree2d369a54b91d7a7fed0bf9d51dc3c29e55a21620 /sd
parente570cd7a293ceee175949dcc9656cdf776ae3c37 (diff)
fdo#85486 - Clean up unnecessary enumerations from xenum.hxx
Removed XHatchStyle Change-Id: I89e7edadc4f408e5a50840aaa1a13965b8503afb Reviewed-on: https://gerrit.libreoffice.org/13442 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/view/drviews9.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/view/drviews9.cxx b/sd/source/ui/view/drviews9.cxx
index 084f13cdb5c6..d224c328122f 100644
--- a/sd/source/ui/view/drviews9.cxx
+++ b/sd/source/ui/view/drviews9.cxx
@@ -567,7 +567,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
SFX_REQUEST_ARG (rReq, pDistance, SfxUInt32Item, ID_VAL_DISTANCE, false);
SFX_REQUEST_ARG (rReq, pAngle, SfxUInt32Item, ID_VAL_ANGLE, false);
- if (CHECK_RANGE (XHATCH_SINGLE, (sal_Int32)pStyle->GetValue (), XHATCH_TRIPLE) &&
+ if (CHECK_RANGE (css::drawing::HatchStyle_SINGLE, (sal_Int32)pStyle->GetValue (), css::drawing::HatchStyle_TRIPLE) &&
CHECK_RANGE (0, (sal_Int32)pAngle->GetValue (), 360))
{
pAttr->ClearItem (XATTR_FILLHATCH);
@@ -585,7 +585,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
{
XHatch aHatch(pEntry->GetHatch());
- aHatch.SetHatchStyle ((XHatchStyle) pStyle->GetValue ());
+ aHatch.SetHatchStyle ((css::drawing::HatchStyle) pStyle->GetValue ());
aHatch.SetDistance (pDistance->GetValue ());
aHatch.SetAngle (pAngle->GetValue () * 10);
@@ -598,7 +598,7 @@ void DrawViewShell::AttrExec (SfxRequest &rReq)
if (i >= nCounts)
{
Color aBlack (0, 0, 0);
- XHatch aHatch (aBlack, (XHatchStyle) pStyle->GetValue (), pDistance->GetValue (),
+ XHatch aHatch (aBlack, (css::drawing::HatchStyle) pStyle->GetValue (), pDistance->GetValue (),
pAngle->GetValue () * 10);
pHatchList->Insert (new XHatchEntry (aHatch, pName->GetValue ()));