diff --git a/src/KDChart/Cartesian/KDChartStockDiagram_p.cpp b/src/KDChart/Cartesian/KDChartStockDiagram_p.cpp index fde8c59b..c20e8e19 100644 --- a/src/KDChart/Cartesian/KDChartStockDiagram_p.cpp +++ b/src/KDChart/Cartesian/KDChartStockDiagram_p.cpp @@ -25,7 +25,7 @@ class StockDiagram::Private::ThreeDPainter }; ThreeDPainter(QPainter *p) - : painter(p) {}; + : painter(p) { }; QPolygonF drawTwoDLine(const QLineF &line, const QPen &pen, const ThreeDProperties &props); diff --git a/src/KDGantt/unittest/test.h b/src/KDGantt/unittest/test.h index 747597b5..122ffdc8 100644 --- a/src/KDGantt/unittest/test.h +++ b/src/KDGantt/unittest/test.h @@ -55,7 +55,7 @@ namespace UnitTest { } while (false) #define assertThrowsException(x, E) assertThrowsExceptionWithCode( \ - x, E, do {} while (0)) + x, E, do { } while (0)) #define assertDoesNotThrowException(x, E) \ do { \