Apache OpenOffice (AOO) Bugzilla – Issue 117358
chart2: DEV300_m102: WaE
Last modified: 2017-05-20 11:42:13 UTC
Several WaE issues on 64bit Linux: 1. /home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx: In member function 'virtual bool chart::wrapper::AxisItemConverter::ApplySpecialItem(sal_uInt16, const SfxItemSet&)': /home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/controller/itemsetwrapper/AxisItemConverter.cxx:621: warning: converting to 'sal_Int32' from 'double'dmake: Error code 1, while making '../../../unxlngx6.pro/slo/AxisItemConverter.obj' ERROR: error 65280 occurred while making /home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/controller/itemsetwrapper 2. Compiling: chart2/source/view/main/VLegend.cxx cc1plus: warnings being treated as errors /home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/view/main/VLegend.cxx: In member function 'void chart::VLegend::createShapes(const com::sun::star::awt::Size&, const com::sun::star::awt::Size&)': /home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/view/main/VLegend.cxx:921: warning: converting to 'sal_Int32' from 'double' /home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/view/main/VLegend.cxx:922: warning: converting to 'sal_Int32' from 'double' dmake: Error code 1, while making '../../../unxlngx6.pro/slo/VLegend.obj' 3. Compiling: chart2/source/view/axes/Tickmarks_Dates.cxx cc1plus: warnings being treated as errors /home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/view/axes/Tickmarks_Dates.cxx: In member function 'void chart::DateTickFactory::getAllTicks(_STL::vector<_STL::vector<chart::TickInfo, _STL::allocator<chart::TickInfo> >, _STL::allocator<_STL::vector<chart::TickInfo, _STL::allocator<chart::TickInfo> > > >&, bool) const': /home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/view/axes/Tickmarks_Dates.cxx:85: warning: passing 'double' for argument 2 to 'Date operator+(const Date&, long int)'/home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/view/axes/Tickmarks_Dates.cxx:86: warning: passing 'double' for argument 2 to 'Date operator+(const Date&, long int)' /home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/view/axes/Tickmarks_Dates.cxx:128: warning: passing 'double' for argument 2 to 'Date operator+(const Date&, long int)' dmake: Error code 1, while making '../../../unxlngx6.pro/slo/Tickmarks_Dates.obj' 4. Compiling: chart2/source/view/axes/ScaleAutomatism.cxx cc1plus: warnings being treated as errors /home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/view/axes/ScaleAutomatism.cxx: In member function 'void chart::ScaleAutomatism::calculateExplicitIncrementAndScaleForDateTimeAxis(chart::ExplicitScaleData&, chart::ExplicitIncrementData&, bool, bool) const': /home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/view/axes/ScaleAutomatism.cxx:696: warning: converting to 'long int' from 'double'dmake: Error code 1, while making '../../../unxlngx6.pro/slo/ScaleAutomatism.obj' 5. Compiling: chart2/source/view/charttypes/VSeriesPlotter.cxx cc1plus: warnings being treated as errors /home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/view/charttypes/VSeriesPlotter.cxx: In member function 'virtual long int chart::VSeriesPlotter::calculateTimeResolutionOnXAxis()': /home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/view/charttypes/VSeriesPlotter.cxx:1197: warning: passing 'double' for argument 1 to 'Date& Date::operator+=(long int)'/home/oo/BuildDir/ooo_DEV300_m102_src/chart2/source/view/charttypes/VSeriesPlotter.cxx:1201: warning: passing 'double' for argument 1 to 'Date& Date::operator+=(long int)' dmake: Error code 1, while making '../../../unxlngx6.pro/slo/VSeriesPlotter.obj' gcc version 4.1.2 20061115 (prerelease) (SUSE Linux)
Created attachment 76092 [details] changes I have to apply to compile
Fixed in CWS calc66: http://hg.services.openoffice.org/cws/calc66/rev/b4ba9bc00448 I changed notation to long which is typically used in chart2. In addition I integrated part of fix for issue 117185 to avoid loosing this fix in upcoming merge conflict.
pjanik, please verify in CWS calc66.
Verified.
getting rid of value "enhancement" for field "severity". For enhancement the field "issue type" shall be used.