sc/source/filter/excel/xestyle.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 1e5d17f821783d0e4a2db92bb09eaff1eadc485a Author: Stephan Bergmann <sberg...@redhat.com> Date: Thu Oct 23 14:34:00 2014 +0200 ATTR_VALUE_FORMAT is an SfxUInt32Item Change-Id: I38f7cece6157cd0a48e3c6a09b25eccc47f8525e diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx index 6a59547..5b49205 100644 --- a/sc/source/filter/excel/xestyle.cxx +++ b/sc/source/filter/excel/xestyle.cxx @@ -2930,7 +2930,7 @@ XclExpDxfs::XclExpDxfs( const XclExpRoot& rRoot ) const SfxPoolItem *pPoolItem = NULL; if( rSet.GetItemState( ATTR_VALUE_FORMAT, true, &pPoolItem ) == SfxItemState::SET ) { - sal_uLong nScNumFmt = static_cast< sal_uInt32 >( static_cast< const SfxInt32Item* >(pPoolItem)->GetValue()); + sal_uLong nScNumFmt = static_cast< const SfxUInt32Item* >(pPoolItem)->GetValue(); sal_Int32 nXclNumFmt = GetRoot().GetNumFmtBuffer().Insert(nScNumFmt); pNumFormat = new XclExpNumFmt( nScNumFmt, nXclNumFmt, GetNumberFormatCode( *this, nScNumFmt, mxFormatter.get(), mpKeywordTable.get() )); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits