summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-01-24 15:14:44 +0100
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-01-24 22:26:40 +0100
commit088af31770f6f5b6106988d544d57800c0946911 (patch)
tree703ac2899aa166b75732c3f48b810d0cb55744f8 /cui
parentChange GetSavedValue() to return OUString (diff)
downloadcore-088af31770f6f5b6106988d544d57800c0946911.tar.gz
core-088af31770f6f5b6106988d544d57800c0946911.zip
remove duplicate code block
Change-Id: If25874a36a65d4f3fcb2ef1fa9b09fa9878dda01
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/tpline.cxx23
1 files changed, 0 insertions, 23 deletions
diff --git a/cui/source/tabpages/tpline.cxx b/cui/source/tabpages/tpline.cxx
index 5348692af871..b9e77b073d01 100644
--- a/cui/source/tabpages/tpline.cxx
+++ b/cui/source/tabpages/tpline.cxx
@@ -867,29 +867,6 @@ sal_Bool SvxLineTabPage::FillItemSet( SfxItemSet& rAttrs )
}
}
- // Width line start
- if( aMtrStartWidth.GetText() != aMtrStartWidth.GetSavedValue() )
- {
- XLineStartWidthItem aItem( GetCoreValue( aMtrStartWidth, ePoolUnit ) );
- pOld = GetOldItem( rAttrs, XATTR_LINESTARTWIDTH );
- if ( !pOld || !( *(const XLineStartWidthItem*)pOld == aItem ) )
- {
- rAttrs.Put( aItem );
- bModified = sal_True;
- }
- }
- // Width line end
- if( aMtrEndWidth.GetText() != aMtrEndWidth.GetSavedValue() )
- {
- XLineEndWidthItem aItem( GetCoreValue( aMtrEndWidth, ePoolUnit ) );
- pOld = GetOldItem( rAttrs, XATTR_LINEENDWIDTH );
- if ( !pOld || !( *(const XLineEndWidthItem*)pOld == aItem ) )
- {
- rAttrs.Put( aItem );
- bModified = sal_True;
- }
- }
-
// Transparency
sal_uInt16 nVal = (sal_uInt16)aMtrTransparent.GetValue();
if( nVal != (sal_uInt16)aMtrTransparent.GetSavedValue().toInt32() )