diff options
Diffstat (limited to 'sc/source/ui/cctrl/cbnumberformat.cxx')
-rw-r--r-- | sc/source/ui/cctrl/cbnumberformat.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/cctrl/cbnumberformat.cxx b/sc/source/ui/cctrl/cbnumberformat.cxx index dede89437b7c..163b4ad22273 100644 --- a/sc/source/ui/cctrl/cbnumberformat.cxx +++ b/sc/source/ui/cctrl/cbnumberformat.cxx @@ -49,7 +49,7 @@ IMPL_STATIC_LINK(ScNumberFormat, NumFormatSelectHdl, ListBox&, rBox, void) SfxDispatcher* pDisp = SfxViewFrame::Current()->GetBindings().GetDispatcher(); if(pDisp) { - const sal_Int32 nVal = rBox.GetSelectEntryPos(); + const sal_Int32 nVal = rBox.GetSelectedEntryPos(); SfxUInt16Item aItem(SID_NUMBER_TYPE_FORMAT, nVal); pDisp->ExecuteList(SID_NUMBER_TYPE_FORMAT, SfxCallMode::RECORD, {&aItem}); |