diff options
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/attarray.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/sc/source/core/data/attarray.cxx b/sc/source/core/data/attarray.cxx index d3ea03dbde30..39658902fd5c 100644 --- a/sc/source/core/data/attarray.cxx +++ b/sc/source/core/data/attarray.cxx @@ -1208,31 +1208,6 @@ void ScAttrArray::ApplyBlockFrame( const SvxBoxItem* pLineOuter, const SvxBoxInf } } - -static long lcl_LineSize( const SvxBorderLine& rLine ) -{ - // only one line -> half width, min. 20 - // double line -> half line spacing + (per min. 20) - - long nTotal = 0; - sal_uInt16 nWidth = Max( rLine.GetOutWidth(), rLine.GetInWidth() ); - sal_uInt16 nDist = rLine.GetDistance(); - if (nDist) - { - OSL_ENSURE( rLine.GetOutWidth() && rLine.GetInWidth(), - "Line has a distance, but only a width?" ); - - nTotal += ( nDist > 20 ) ? nDist : 20; - nTotal += ( nWidth > 20 ) ? nWidth : 20; - } - else if (nWidth) - nTotal += ( nWidth > 20 ) ? nWidth : 20; - - // also halved ? - - return nTotal; -} - // Test if field contains specific attribute bool ScAttrArray::HasAttrib( SCROW nRow1, SCROW nRow2, sal_uInt16 nMask ) const |