Resolves: tdf#113355 need to explicitly call initial TwoFigureHdl

Change-Id: Ia328f9adf95eef6711d286c9bde5b9a6edbd9978
This commit is contained in:
Caolán McNamara
2017-10-23 11:20:25 +01:00
parent fbc44fe63b
commit ed57f47cdf

View File

@@ -383,7 +383,10 @@ void OfaMiscTabPage::Reset( const SfxItemSet* rSet )
const SfxPoolItem* pItem = nullptr;
if ( SfxItemState::SET == rSet->GetItemState( SID_ATTR_YEAR2000, false, &pItem ) )
{
m_pYearValueField->SetValue( static_cast<const SfxUInt16Item*>(pItem)->GetValue() );
TwoFigureHdl(*m_pYearValueField);
}
else
m_pYearFrame->Enable(false);