Apache OpenOffice (AOO) Bugzilla – Issue 72336
to-be-SRC680_m196: cast from 'SfxItemSet*' to 'sal_Int32' loses precision
Last modified: 2006-12-18 15:29:48 UTC
Hi, to-be-m196 breaks on 64bit platforms with: data/oo/BuildDir/ooo_SRC680_m196_src/svtools/source/items1/stylepool.cxx: In static member function 'static rtl::OUString StylePool::nameOf(boost::shared_ptr<SfxItemSet>)': /data/oo/BuildDir/ooo_SRC680_m196_src/svtools/source/items1/stylepool.cxx:190: error: cast from 'SfxItemSet*' to 'sal_Int32' loses precision dmake: Error code 1, while making '../../unxlngx6.pro/slo/stylepool.obj' '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /data/oo/BuildDir/ooo_SRC680_m196_src/svtools/source/ items1
please review attached patch.
Created attachment 41305 [details] Patch for review
Created attachment 41306 [details] Patch for review
Yes, the patch is okay. sal_uIntPtr instead of sal_IntPtr could be an option even I don't think we will get "negative" values there, so I'm fine with the patch.
Patch applied to pji72336. Caolan, can you please verify?
.
verified
closing, m197