summaryrefslogtreecommitdiff
path: root/svx/source/dialog/chardlg.cxx
diff options
context:
space:
mode:
authorPeter Burow <pb@openoffice.org>2001-11-01 07:57:00 +0000
committerPeter Burow <pb@openoffice.org>2001-11-01 07:57:00 +0000
commit4363fbdb3ad33ebf9690798a22cf47130c4bb71e (patch)
treecc7414b1e17404f912bff4c9cd2fed65e849608f /svx/source/dialog/chardlg.cxx
parent42043a535559d66597bfba39246d791e30788ac0 (diff)
fix: #93764# new ids for search&replace attributes
Diffstat (limited to 'svx/source/dialog/chardlg.cxx')
-rw-r--r--svx/source/dialog/chardlg.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/svx/source/dialog/chardlg.cxx b/svx/source/dialog/chardlg.cxx
index 5deeceb21fec..be2b228684eb 100644
--- a/svx/source/dialog/chardlg.cxx
+++ b/svx/source/dialog/chardlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: chardlg.cxx,v $
*
- * $Revision: 1.65 $
+ * $Revision: 1.66 $
*
- * last change: $Author: gt $ $Date: 2001-10-26 14:26:30 $
+ * last change: $Author: pb $ $Date: 2001-11-01 08:57:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1967,8 +1967,9 @@ void SvxCharEffectsPage::Reset( const SfxItemSet& rSet )
// Emphasis
nWhich = GetWhich( SID_ATTR_CHAR_EMPHASISMARK );
+ eState = rSet.GetItemState( nWhich );
- if ( rSet.GetItemState( nWhich ) >= SFX_ITEM_DEFAULT )
+ if ( eState >= SFX_ITEM_DEFAULT )
{
const SvxEmphasisMarkItem& rItem = (SvxEmphasisMarkItem&)rSet.Get( nWhich );
FontEmphasisMark eMark = rItem.GetEmphasisMark();
@@ -1990,6 +1991,8 @@ void SvxCharEffectsPage::Reset( const SfxItemSet& rSet )
}
}
}
+ else if ( eState == SFX_ITEM_DONTCARE )
+ m_aEmphasisLB.SetNoSelection( );
else
{
m_aEmphasisFT.Disable( );