summaryrefslogtreecommitdiff
path: root/sw/source/uibase/utlui/numfmtlb.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/utlui/numfmtlb.cxx')
-rw-r--r--sw/source/uibase/utlui/numfmtlb.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/utlui/numfmtlb.cxx b/sw/source/uibase/utlui/numfmtlb.cxx
index d54d84ce9866..39fd6b37081a 100644
--- a/sw/source/uibase/utlui/numfmtlb.cxx
+++ b/sw/source/uibase/utlui/numfmtlb.cxx
@@ -64,7 +64,7 @@ NumFormatListBox::NumFormatListBox(vcl::Window* pWin, WinBits nStyle) :
bShowLanguageControl(false),
bUseAutomaticLanguage(true)
{
- Init(css::util::NumberFormat::NUMBER);
+ Init();
}
VCL_BUILDER_DECL_FACTORY(NumFormatListBox)
@@ -86,7 +86,7 @@ VCL_BUILDER_DECL_FACTORY(NumFormatListBox)
rRet = pListBox;
}
-void NumFormatListBox::Init(short nFormatType)
+void NumFormatListBox::Init()
{
SwView *pView = GetView();
@@ -95,7 +95,7 @@ void NumFormatListBox::Init(short nFormatType)
else
eCurLanguage = SvtSysLocale().GetLanguageTag().getLanguageType();
- SetFormatType(nFormatType);
+ SetFormatType(css::util::NumberFormat::NUMBER);
SetDefFormat(nDefFormat);
SetSelectHdl(LINK(this, NumFormatListBox, SelectHdl));