diff options
author | Ingrid Halama [iha] <Ingrid.Halama@oracle.com> | 2011-01-26 16:27:17 +0100 |
---|---|---|
committer | Ingrid Halama [iha] <Ingrid.Halama@oracle.com> | 2011-01-26 16:27:17 +0100 |
commit | a2d49e576d3ba693132fb2c75d1b73c1d802b8e8 (patch) | |
tree | f676066c680799f7ff0d78e8e7e9d005f7405d23 /chart2 | |
parent | 9487ac66bc5abc276451550d4c6c5af80ba113e5 (diff) |
chart52: #28670# make the legend within charts resizeable - build warning
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/main/VLegend.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/view/main/VLegend.cxx b/chart2/source/view/main/VLegend.cxx index 59444ad05894..046947c50e65 100644 --- a/chart2/source/view/main/VLegend.cxx +++ b/chart2/source/view/main/VLegend.cxx @@ -313,7 +313,7 @@ awt::Size lcl_placeLegendEntries( sal_Int32 nCurrentColumn=-1; sal_Int32 nColumnCount=0; sal_Int32 nMaxColumnCount=-1; - for( sal_Int32 nN=0; nN<aTextShapes.size(); nN++) + for( sal_Int32 nN=0; nN<static_cast<sal_Int32>(aTextShapes.size()); nN++ ) { Reference< drawing::XShape > xShape( aTextShapes[nN] ); if( !xShape.is() ) |