Kaydet (Commit) f4410925 authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

CWS-TOOLING: integrate CWS dtardon01

......@@ -3386,11 +3386,6 @@ USHORT* SvxCharPositionPage::GetRanges()
}
// -----------------------------------------------------------------------
#define ENABLE_AND_CHECK( aCheckBox ) \
if ( !aCheckBox.IsEnabled() ) \
aCheckBox.Enable(); \
aCheckBox.Check( TRUE )
void SvxCharPositionPage::Reset( const SfxItemSet& rSet )
{
String sUser = GetUserData();
......@@ -3431,6 +3426,7 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet )
m_aFontSizeEdit.Enable();
short nFac;
sal_Bool bAutomatic(sal_False);
if ( nEsc > 0 )
{
......@@ -3438,8 +3434,8 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet )
m_aHighPosBtn.Check( TRUE );
if ( nEsc == DFLT_ESC_AUTO_SUPER )
{
ENABLE_AND_CHECK( m_aHighLowRB );
nEsc = DFLT_ESC_SUPER;
bAutomatic = sal_True;
}
}
else
......@@ -3448,10 +3444,15 @@ void SvxCharPositionPage::Reset( const SfxItemSet& rSet )
m_aLowPosBtn.Check( TRUE );
if ( nEsc == DFLT_ESC_AUTO_SUB )
{
ENABLE_AND_CHECK( m_aHighLowRB );
nEsc = DFLT_ESC_SUB;
bAutomatic = sal_True;
}
}
if (!m_aHighLowRB.IsEnabled())
{
m_aHighLowRB.Enable();
}
m_aHighLowRB.Check(bAutomatic);
if ( m_aHighLowRB.IsChecked() )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment