Apache OpenOffice (AOO) Bugzilla – Issue 112500
WaE: chart2/source/tools/DiagramHelper.cxx
Last modified: 2017-05-20 11:41:50 UTC
Compiling: chart2/source/tools/DiagramHelper.cxx cc1plus: warnings being treated as errors /home/oo/BuildDir/ooo_DEV300_m83_src/chart2/source/tools/DiagramHelper.cxx: In static member function 'static com::sun::star::awt::Rectangle chart::DiagramHelper::getDiagramRectangleFromModel(const com::sun::star::uno::Reference<com::sun::star::frame::XModel>&)': /home/oo/BuildDir/ooo_DEV300_m83_src/chart2/source/tools/DiagramHelper.cxx:1517: warning: passing 'double' for argument 1 to 'com::sun::star::awt::Size::Size(const sal_Int32&, const sal_Int32&)' /home/oo/BuildDir/ooo_DEV300_m83_src/chart2/source/tools/DiagramHelper.cxx:1517: warning: passing 'double' for argument 2 to 'com::sun::star::awt::Size::Size(const sal_Int32&, const sal_Int32&)'
Proposed fix: awt::Size aAbsSize( static_cast< sal_Int32 >(aRelSize.Primary * aPageSize.Width), static_cast< sal_Int32 >(aRelSize.Secondary * aPageSize.Height) );
taking issue
Fixed in CWS chart49.
pjanik, please verify in CWS chart49: http://hg.services.openoffice.org/cws/chart49/rev/c57ece86cb42 Thanks!
verified