[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Wed Mar 23 14:46:02 UTC 2016


 sw/source/filter/html/css1atr.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b77493bd2414caf8fa240f0fb5bb4e544ac7f480
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Wed Mar 23 15:45:28 2016 +0100

    loplugin:cstylecast
    
    Change-Id: If31f077ece1de7fed8b86c1730841b2eff9f27e1

diff --git a/sw/source/filter/html/css1atr.cxx b/sw/source/filter/html/css1atr.cxx
index a60b3af..8fd5335 100644
--- a/sw/source/filter/html/css1atr.cxx
+++ b/sw/source/filter/html/css1atr.cxx
@@ -3217,7 +3217,7 @@ static Writer& OutCSS1_SvxBrush( Writer& rWrt, const SfxPoolItem& rHt,
 //  const Brush &rBrush = static_cast<const SvxBrushItem &>(rHt).GetBrush();
     const Color & rColor = static_cast<const SvxBrushItem &>(rHt).GetColor();
     OUString aLink = pGraphicName ? *pGraphicName
-                            : ((const SvxBrushItem &)rHt).GetGraphicLink();
+                            : static_cast<const SvxBrushItem &>(rHt).GetGraphicLink();
     SvxGraphicPosition ePos = static_cast<const SvxBrushItem &>(rHt).GetGraphicPos();
     if( CSS1_BACKGROUND_PAGE==nMode && !rHTMLWrt.mbEmbedImages )
     {


More information about the Libreoffice-commits mailing list