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

Stephan Bergmann sbergman at redhat.com
Tue Mar 29 07:05:02 UTC 2016


 sw/source/filter/html/svxcss1.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 8fac348a5a3ab535fa12a9da2a6d4fbee4ecca8d
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Mar 29 09:03:35 2016 +0200

    cid#1357172: UNUSED_VALUE
    
    ...after 9585c8b8c8d8724cc1bad4a2060c828c15599929 "loplugin:constantparam in sw"
    
    Change-Id: I29ac058ce3f42ff4ceb60c8de09352c2810967b8

diff --git a/sw/source/filter/html/svxcss1.cxx b/sw/source/filter/html/svxcss1.cxx
index 2478d96..41c9da1 100644
--- a/sw/source/filter/html/svxcss1.cxx
+++ b/sw/source/filter/html/svxcss1.cxx
@@ -626,9 +626,6 @@ void SvxCSS1PropertyInfo::SetBoxItem( SfxItemSet& rItemSet,
         }
         else
         {
-            if( USHRT_MAX == nDist )
-                nDist = aBoxItem.GetDistance( nLine );
-
             nDist = 0U;
         }
 


More information about the Libreoffice-commits mailing list