diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-14 19:28:09 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-11-24 07:43:12 +0100 |
commit | 7fce875718687e12df4d7a8b997ca7baea548b91 (patch) | |
tree | 0668e4f9658ef87944458d2b3e87a956cebcbf7e /sd/source/ui/dlg/dlgfield.cxx | |
parent | 2ca32d2905aaf42ca3feaae04a55500c708fe8ad (diff) |
Turn SD_MOD macro to a function
Change-Id: I1303e9d48e92ac00eee12af9ed299cdaad2ce009
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177072
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sd/source/ui/dlg/dlgfield.cxx')
-rw-r--r-- | sd/source/ui/dlg/dlgfield.cxx | 4 |
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 |