diff options
author | Eike Rathke <erack@redhat.com> | 2014-03-12 18:29:54 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2014-03-14 13:30:17 +0100 |
commit | cb87c1eefb434bb24fe1c5472328a93cbdc5d761 (patch) | |
tree | ffb1f526404ac7866b82262fa9239a04cf0d6c67 /sc | |
parent | f35b1958e3519887355f74e1ffdc60dca9de8de5 (diff) |
SvxCheckListBox/SvTreeList/ListBox position types nitpick
Change-Id: Id77f90189d7dffe660ae509f563ea8eb6deb1727
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/optdlg/calcoptionsdlg.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx index fd48e76b346e..0b5fd4cf2db4 100644 --- a/sc/source/ui/optdlg/calcoptionsdlg.cxx +++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx @@ -83,7 +83,7 @@ void OptionString::Paint(const Point& rPos, SvTreeListBox& rDev, const SvViewDat rDev.Control::SetFont(aOldFont); } -formula::FormulaGrammar::AddressConvention toAddressConvention(sal_uInt16 nPos) +formula::FormulaGrammar::AddressConvention toAddressConvention(sal_Int32 nPos) { switch (nPos) { @@ -269,7 +269,7 @@ void ScCalcOptionsDialog::FillOptionsList() void ScCalcOptionsDialog::SelectionChanged() { - sal_uInt16 nSelectedPos = mpLbSettings->GetSelectEntryPos(); + sal_uLong nSelectedPos = mpLbSettings->GetSelectEntryPos(); switch ((CalcOptionOrder)nSelectedPos) { case CALC_OPTION_REF_SYNTAX: @@ -353,13 +353,13 @@ void ScCalcOptionsDialog::SelectionChanged() void ScCalcOptionsDialog::ListOptionValueChanged() { - sal_uInt16 nSelected = mpLbSettings->GetSelectEntryPos(); + sal_uLong nSelected = mpLbSettings->GetSelectEntryPos(); switch ((CalcOptionOrder) nSelected) { case CALC_OPTION_REF_SYNTAX: { // Formula syntax for INDIRECT function. - sal_uInt16 nPos = mpLbOptionEdit->GetSelectEntryPos(); + sal_Int32 nPos = mpLbOptionEdit->GetSelectEntryPos(); maConfig.meStringRefAddressSyntax = toAddressConvention(nPos); setValueAt(nSelected, toString(maConfig.meStringRefAddressSyntax)); @@ -419,7 +419,7 @@ void ScCalcOptionsDialog::SelectedDeviceChanged() void ScCalcOptionsDialog::RadioValueChanged() { - sal_uInt16 nSelected = mpLbSettings->GetSelectEntryPos(); + sal_uLong nSelected = mpLbSettings->GetSelectEntryPos(); bool bValue = mpBtnTrue->IsChecked(); switch (nSelected) { |