Issue 117358 - chart2: DEV300_m102: WaE
Summary: chart2: DEV300_m102: WaE
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Linux, all
: P3 Normal (vote)
Target Milestone: ---
Assignee: pavel
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-13 13:50 UTC by pavel
Modified: 2017-05-20 11:42 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
changes I have to apply to compile (4.93 KB, application/octet-stream)
2011-03-13 13:51 UTC, pavel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description pavel 2011-03-13 13:50:37 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)
Comment 1 pavel 2011-03-13 13:51:34 UTC
Created attachment 76092 [details]
changes I have to apply to compile
Comment 2 IngridvdM 2011-03-14 17:07:02 UTC
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.
Comment 3 IngridvdM 2011-03-14 17:09:02 UTC
pjanik, please verify in CWS calc66.
Comment 4 pavel 2011-03-14 17:15:52 UTC
Verified.
Comment 5 Oliver-Rainer Wittmann 2012-06-13 12:22:31 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.