summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sc/source/ui/view/formatsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index d264fd78ab69..c2acb2a3940e 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -1870,7 +1870,7 @@ void ScFormatShell::GetNumFormatState( SfxItemSet& rSet )
if( nFormatCategory == -1 )
rSet.InvalidateItem( nWhich );
else
- rSet.Put( SfxInt16Item( nWhich, nFormatCategory ) );
+ rSet.Put( SfxUInt16Item( nWhich, nFormatCategory ) );
}
else
{