summaryrefslogtreecommitdiff
path: root/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx')
-rw-r--r--sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
index 25ad6a570091..00b87c7b68b1 100644
--- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
+++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx
@@ -108,7 +108,7 @@ void NumberFormatPropertyPanel::Initialize()
IMPL_LINK( NumberFormatPropertyPanel, NumFormatSelectHdl, ListBox*, pBox )
{
- sal_uInt16 nVal = pBox->GetSelectEntryPos();
+ const sal_Int32 nVal = pBox->GetSelectEntryPos();
if( nVal != mnCategorySelected )
{
SfxUInt16Item aItem( SID_NUMBER_TYPE_FORMAT, nVal );