Resolves: tdf#113355 need to explicitly call initial TwoFigureHdl
Change-Id: Ia328f9adf95eef6711d286c9bde5b9a6edbd9978
This commit is contained in:
@@ -383,7 +383,10 @@ void OfaMiscTabPage::Reset( const SfxItemSet* rSet )
|
|||||||
|
|
||||||
const SfxPoolItem* pItem = nullptr;
|
const SfxPoolItem* pItem = nullptr;
|
||||||
if ( SfxItemState::SET == rSet->GetItemState( SID_ATTR_YEAR2000, false, &pItem ) )
|
if ( SfxItemState::SET == rSet->GetItemState( SID_ATTR_YEAR2000, false, &pItem ) )
|
||||||
|
{
|
||||||
m_pYearValueField->SetValue( static_cast<const SfxUInt16Item*>(pItem)->GetValue() );
|
m_pYearValueField->SetValue( static_cast<const SfxUInt16Item*>(pItem)->GetValue() );
|
||||||
|
TwoFigureHdl(*m_pYearValueField);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
m_pYearFrame->Enable(false);
|
m_pYearFrame->Enable(false);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user