diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-08-14 16:23:46 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-08-14 16:23:46 +0000 |
commit | 3fe0885f00ab5a40752be4721ef673392dc7ba6d (patch) | |
tree | 92acfcdf2cf3c0173abd2a0a23e21c853fddf86d /sw/source/filter/xml/xmlitemi.cxx | |
parent | 66f99ac957e766f057a9633bd16dde82f7168571 (diff) |
INTEGRATION: CWS writercorehandoff (1.8.4); FILE MERGED
2006/01/20 10:02:01 tra 1.8.4.1: #i50348#removed inactive code
Diffstat (limited to 'sw/source/filter/xml/xmlitemi.cxx')
-rw-r--r-- | sw/source/filter/xml/xmlitemi.cxx | 33 |
1 files changed, 2 insertions, 31 deletions
diff --git a/sw/source/filter/xml/xmlitemi.cxx b/sw/source/filter/xml/xmlitemi.cxx index b0b0c2fce429..322172876172 100644 --- a/sw/source/filter/xml/xmlitemi.cxx +++ b/sw/source/filter/xml/xmlitemi.cxx @@ -4,9 +4,9 @@ * * $RCSfile: xmlitemi.cxx,v $ * - * $Revision: 1.8 $ + * $Revision: 1.9 $ * - * last change: $Author: rt $ $Date: 2005-09-09 06:23:55 $ + * last change: $Author: hr $ $Date: 2006-08-14 17:23:46 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -175,35 +175,6 @@ sal_Bool SwXMLImportTableItemMapper_Impl::handleSpecialItem( void SwXMLImportTableItemMapper_Impl::finished( SfxItemSet& rSet ) const { -#if 0 - const SfxPoolItem *pItem; - - // ensure that box item have a distance to a border. - if( SFX_ITEM_SET == rSet.GetItemState( RES_BOX, sal_False, &pItem ) ) - { - const SvxBoxItem *pBox = (const SvxBoxItem *)pItem; - sal_uInt16 aLines[4] = { BOX_LINE_TOP, BOX_LINE_BOTTOM, - BOX_LINE_LEFT, BOX_LINE_RIGHT }; - sal_uInt16 i; - for( i=0; i<4; i++ ) - { - if( pBox->GetLine( aLines[i] ) && - pBox->GetDistance( aLines[i] ) < MIN_BORDER_DIST ) - break; - } - if( i < 4 ) - { - SvxBoxItem aBox( *pBox ); - for( /*i=0*/; i<4; i++ ) // i points to the mod. line - { - if( aBox.GetLine( aLines[i] ) && - aBox.GetDistance( aLines[i] ) < MIN_BORDER_DIST ) - aBox.SetDistance( MIN_BORDER_DIST, aLines[i] ); - } - rSet.Put( aBox ); - } - } -#endif } // --------------------------------------------------------------------- |