diff options
-rw-r--r-- | sc/source/ui/optdlg/tpformula.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sc/source/ui/optdlg/tpformula.cxx b/sc/source/ui/optdlg/tpformula.cxx index 4ed483d6672e..b75c73953af4 100644 --- a/sc/source/ui/optdlg/tpformula.cxx +++ b/sc/source/ui/optdlg/tpformula.cxx @@ -92,13 +92,7 @@ ScTpFormulaOptions::ScTpFormulaOptions(Window* pParent, const SfxItemSet& rCoreA maEdSepArrayRow.SetGetFocusHdl(aLink); // Get the decimal separator for current locale. - ScFormulaOptions aOpt; - const SfxPoolItem* pItem = NULL; - - if(SFX_ITEM_SET == rCoreAttrs.GetItemState(SID_SCFORMULAOPTIONS, false , &pItem)) - aOpt = ((const ScTpFormulaItem*)pItem)->GetFormulaOptions(); - - rtl::OUString aSep = aOpt.GetLocaleDataWrapper().getNumDecimalSep(); + rtl::OUString aSep = ScGlobal::GetpLocaleData()->getNumDecimalSep(); mnDecSep = aSep.isEmpty() ? sal_Unicode('.') : aSep[0]; } |