[Libreoffice-commits] core.git: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Aug 7 19:30:37 UTC 2018


 sc/source/filter/excel/xichart.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 02bc256252bcbfcd3068f6413347143c59590218
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Tue Aug 7 19:16:47 2018 +0200
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Tue Aug 7 21:30:15 2018 +0200

    CID 1438378: Use correct specialization
    
    Omission from commit 81302f33073e7629d724ed269f1fa21dad29e141
    
    Change-Id: Icc2ac3ce87a199609a4faa32a2f6f999fc219f4d
    Reviewed-on: https://gerrit.libreoffice.org/58700
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>
    Tested-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/sc/source/filter/excel/xichart.cxx b/sc/source/filter/excel/xichart.cxx
index a3062d2cca18..c2b08ac7c38e 100644
--- a/sc/source/filter/excel/xichart.cxx
+++ b/sc/source/filter/excel/xichart.cxx
@@ -2431,7 +2431,7 @@ void XclImpChChart3d::Convert( ScfPropertySet& rPropSet, bool b3dWallChart ) con
     if( b3dWallChart )
     {
         // Y rotation (Excel [0..359], Chart2 [-179,180])
-        nRotationY = NormAngle180(maData.mnRotation);
+        nRotationY = NormAngle180<sal_Int32>(maData.mnRotation);
         // X rotation a.k.a. elevation (Excel [-90..90], Chart2 [-179,180])
         nRotationX = limit_cast< sal_Int32, sal_Int32 >( maData.mnElevation, -90, 90 );
         // perspective (Excel and Chart2 [0,100])


More information about the Libreoffice-commits mailing list