summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/dlgfield.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/dlgfield.cxx')
-rw-r--r--sd/source/ui/dlg/dlgfield.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/dlgfield.cxx b/sd/source/ui/dlg/dlgfield.cxx
index 881ab311b75d..61623d16c409 100644
--- a/sd/source/ui/dlg/dlgfield.cxx
+++ b/sd/source/ui/dlg/dlgfield.cxx
@@ -162,7 +162,7 @@ void SdModifyFieldDlg::FillFormatList()
m_xLbFormat->append_text( SdResId( STR_STANDARD_SMALL ) );
m_xLbFormat->append_text( SdResId( STR_STANDARD_BIG ) );
- SvNumberFormatter* pNumberFormatter = SD_MOD()->GetNumberFormatter();
+ SvNumberFormatter* pNumberFormatter = SdModule::get()->GetNumberFormatter();
aDateField.SetFormat( SvxDateFormat::A ); // 13.02.96
m_xLbFormat->append_text( aDateField.GetFormatted( *pNumberFormatter, eLangType ) );
aDateField.SetFormat( SvxDateFormat::B ); // 13.02.1996
@@ -186,7 +186,7 @@ void SdModifyFieldDlg::FillFormatList()
//SvxTimeFormat::System, // not used
m_xLbFormat->append_text( SdResId( STR_STANDARD_NORMAL ) );
- SvNumberFormatter* pNumberFormatter = SD_MOD()->GetNumberFormatter();
+ SvNumberFormatter* pNumberFormatter = SdModule::get()->GetNumberFormatter();
aTimeField.SetFormat( SvxTimeFormat::HH24_MM ); // 13:49
m_xLbFormat->append_text( aTimeField.GetFormatted( *pNumberFormatter, eLangType ) );
aTimeField.SetFormat( SvxTimeFormat::HH24_MM_SS ); // 13:49:38