diff options
Diffstat (limited to 'sw/source/uibase/app/appopt.cxx')
-rw-r--r-- | sw/source/uibase/app/appopt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/app/appopt.cxx b/sw/source/uibase/app/appopt.cxx index e6923fe9aee1..7be59a1dab9a 100644 --- a/sw/source/uibase/app/appopt.cxx +++ b/sw/source/uibase/app/appopt.cxx @@ -290,14 +290,14 @@ void SwModule::ApplyItemSet( sal_uInt16 nId, const SfxItemSet& rSet ) if( const SfxUInt16Item* pMetricItem = rSet.GetItemIfSet(SID_ATTR_METRIC, false ) ) { - SfxGetpApp()->SetOptions(rSet); + SfxApplication::SetOptions(rSet); PutItem(*pMetricItem); ::SetDfltMetric(static_cast<FieldUnit>(pMetricItem->GetValue()), !bTextDialog); } if( const SfxBoolItem* pCharItem = rSet.GetItemIfSet(SID_ATTR_APPLYCHARUNIT, false ) ) { - SfxGetpApp()->SetOptions(rSet); + SfxApplication::SetOptions(rSet); ::SetApplyCharUnit(pCharItem->GetValue(), !bTextDialog); } |