diff options
Diffstat (limited to 'sc/source/filter/oox/numberformatsbuffer.cxx')
-rw-r--r-- | sc/source/filter/oox/numberformatsbuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/oox/numberformatsbuffer.cxx b/sc/source/filter/oox/numberformatsbuffer.cxx index 3c943a505ecd..a26137dad4e6 100644 --- a/sc/source/filter/oox/numberformatsbuffer.cxx +++ b/sc/source/filter/oox/numberformatsbuffer.cxx @@ -1832,7 +1832,7 @@ sal_Int32 lclCreatePredefinedFormat( const Reference< XNumberFormats >& rxNumFmt catch( Exception& ) { OSL_FAIL( OStringBuffer( "lclCreatePredefinedFormat - cannot create predefined number format " ). - append( OString::valueOf( static_cast< sal_Int32 >( nPredefId ) ) ).getStr() ); + append( OString::number( nPredefId ) ).getStr() ); } return nIndex; } |