summaryrefslogtreecommitdiff
path: root/sc/source/ui/pagedlg/tphfedit.cxx
diff options
context:
space:
mode:
authorSascha Ballach <sab@openoffice.org>2001-08-01 11:10:43 +0000
committerSascha Ballach <sab@openoffice.org>2001-08-01 11:10:43 +0000
commit6106b9953f807f5014800b1247daafbf890cc1a0 (patch)
tree4bf3af48c9e0235c301b201fa431d8679985e655 /sc/source/ui/pagedlg/tphfedit.cxx
parent64492cd7859eb90172b2dfbffcf1300e7f3ae2d3 (diff)
#90389#; only set the new attributes and not all attributes
Diffstat (limited to 'sc/source/ui/pagedlg/tphfedit.cxx')
-rw-r--r--sc/source/ui/pagedlg/tphfedit.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/pagedlg/tphfedit.cxx b/sc/source/ui/pagedlg/tphfedit.cxx
index ea896a5592b6..a2217930addb 100644
--- a/sc/source/ui/pagedlg/tphfedit.cxx
+++ b/sc/source/ui/pagedlg/tphfedit.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tphfedit.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: dr $ $Date: 2001-05-14 09:21:35 $
+ * last change: $Author: sab $ $Date: 2001-08-01 12:10:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -527,6 +527,7 @@ void ScEditWindow::SetCharAttriutes()
pDlg->SetText( ScGlobal::GetRscString( STR_TEXTATTRS ) );
if ( pDlg->Execute() == RET_OK )
{
+ aSet.ClearItem();
aSet.Put( *pDlg->GetOutputItemSet() );
pEdView->SetAttribs( aSet );
}