From e84c8b27dd1460ad6abec406037f06a3b00a97ac Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 11 Jan 2018 17:38:25 +0100 Subject: loplugin:redundantcast: cui (after a to-be-committed improved loplugin:cstylecast would have rewritten the C-style casts into static_casts) Change-Id: I3742417cde8a35653b336cc2801dc43a06cfb45e --- cui/source/tabpages/tpbitmap.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui/source/tabpages/tpbitmap.cxx') diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx index 00897f4848b9..b74041e211c0 100644 --- a/cui/source/tabpages/tpbitmap.cxx +++ b/cui/source/tabpages/tpbitmap.cxx @@ -505,7 +505,7 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ModifyBitmapHdl, ValueSet*, void) if(SfxItemState::SET == m_rOutAttrs.GetItemState(GetWhich(XATTR_FILLSTYLE), true, &pPoolItem)) { - const drawing::FillStyle eXFS((drawing::FillStyle)static_cast(pPoolItem)->GetValue()); + const drawing::FillStyle eXFS(static_cast(pPoolItem)->GetValue()); if((drawing::FillStyle_BITMAP == eXFS) && (SfxItemState::SET == m_rOutAttrs.GetItemState(GetWhich(XATTR_FILLBITMAP), true, &pPoolItem))) { -- cgit