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

Tibor Móger hapcyhun at gmail.com
Tue Dec 6 11:50:58 UTC 2016


 basegfx/source/workbench/bezierclip.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit d8796f6ef1c258f82579442070b1eb6b0c48ce20
Author: Tibor Móger <hapcyhun at gmail.com>
Date:   Tue Dec 6 10:23:15 2016 +0100

    cppcheck unreadVariable: curr_Offset
    
    Change-Id: Iffc1d36a0e1921f55f24f5e3f9fc1b063b7c0f16
    Reviewed-on: https://gerrit.libreoffice.org/31672
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

diff --git a/basegfx/source/workbench/bezierclip.cxx b/basegfx/source/workbench/bezierclip.cxx
index d7162af..478f289 100644
--- a/basegfx/source/workbench/bezierclip.cxx
+++ b/basegfx/source/workbench/bezierclip.cxx
@@ -1903,7 +1903,6 @@ int main(int argc, const char *argv[])
 
     // test full bezier clipping
     const double bezierClip_xOffset( curr_Offset );
-    curr_Offset += 20;
     cout << endl << endl << "# bezier clip testing" << endl
          << "plot [t=0:1] ";
     for( i=0; i<sizeof(someCurves)/sizeof(Bezier); ++i )


More information about the Libreoffice-commits mailing list