diff options
author | Radu Ioan <ioan.radu.g@gmail.com> | 2014-11-21 20:48:11 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-11-23 18:15:44 +0100 |
commit | 7528b498b634f0d96a710afc7faf20299cc5792d (patch) | |
tree | ee6c39fbf1d8e91f43738f6e9a9aa388f059f0dc /svx/source/svdraw/svdoattr.cxx | |
parent | 40833b49ebdef2e5ab9ece33fc558fd0929f4e8d (diff) |
fdo#85486 - Clean up unnecessary enumerations from xenum.hxx
Removed XLineStyle
Reviewed on:
https://gerrit.libreoffice.org/13029
Change-Id: I583575a04988ccf932374e411672ba14a3f3cb2f
Diffstat (limited to 'svx/source/svdraw/svdoattr.cxx')
-rw-r--r-- | svx/source/svdraw/svdoattr.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/svdraw/svdoattr.cxx b/svx/source/svdraw/svdoattr.cxx index 568322f93ebf..36ee5c1e4997 100644 --- a/svx/source/svdraw/svdoattr.cxx +++ b/svx/source/svdraw/svdoattr.cxx @@ -144,7 +144,7 @@ sal_Int32 SdrAttrObj::ImpGetLineWdt() const { sal_Int32 nRetval(0); - if(XLINE_NONE != static_cast<const XLineStyleItem&>(GetObjectItem(XATTR_LINESTYLE)).GetValue()) + if(drawing::LineStyle_NONE != static_cast<const XLineStyleItem&>(GetObjectItem(XATTR_LINESTYLE)).GetValue()) { nRetval = static_cast<const XLineWidthItem&>(GetObjectItem(XATTR_LINEWIDTH)).GetValue(); } @@ -159,7 +159,7 @@ bool SdrAttrObj::HasFill() const bool SdrAttrObj::HasLine() const { - return static_cast<const XLineStyleItem&>(GetProperties().GetObjectItemSet().Get(XATTR_LINESTYLE)).GetValue() != XLINE_NONE; + return static_cast<const XLineStyleItem&>(GetProperties().GetObjectItemSet().Get(XATTR_LINESTYLE)).GetValue() != drawing::LineStyle_NONE; } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |