diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-16 16:16:22 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-20 09:43:25 +0100 |
commit | 0f0049d77a0ee6ae936922213c7290d0bc4fee29 (patch) | |
tree | 21ec8c68606453166de7557afa394054907d9c85 /sd/source/ui/view/drviewsi.cxx | |
parent | 21e85d591f344958c3ebee9422ba15dbd931f2cc (diff) |
TypedWhichId for XATTR* constants
Change-Id: Ie9d637d701b77a549de3b00956f9c74ee8bd08c1
Reviewed-on: https://gerrit.libreoffice.org/44830
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/source/ui/view/drviewsi.cxx')
-rw-r--r-- | sd/source/ui/view/drviewsi.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sd/source/ui/view/drviewsi.cxx b/sd/source/ui/view/drviewsi.cxx index 78007e4e3649..0212473ddffb 100644 --- a/sd/source/ui/view/drviewsi.cxx +++ b/sd/source/ui/view/drviewsi.cxx @@ -51,8 +51,6 @@ using namespace ::com::sun::star; namespace sd { -#define ITEMVALUE(ItemSet,Id,Cast) static_cast<const Cast&>((ItemSet).Get(Id)).GetValue() - /** * Handle SfxRequests for EffekteWindow */ @@ -144,7 +142,7 @@ void DrawViewShell::AssignFrom3DWindow() // Determine if a FILL attribute is set. // If not, hard set a fill attribute - drawing::FillStyle eFillStyle = ITEMVALUE( aSet, XATTR_FILLSTYLE, XFillStyleItem ); + drawing::FillStyle eFillStyle = aSet.Get(XATTR_FILLSTYLE).GetValue(); if(eFillStyle == drawing::FillStyle_NONE) aSet.Put(XFillStyleItem (drawing::FillStyle_SOLID)); |