PVS: V730 Not all members of a class are initialized inside the constructor
This commit is contained in:
@@ -342,6 +342,7 @@ TYPESYSTEM_SOURCE(TechDraw::CosmeticEdge,Base::Persistence)
|
||||
CosmeticEdge::CosmeticEdge()
|
||||
{
|
||||
// Base::Console().Message("CE::CE()\n");
|
||||
permaRadius = 0.0;
|
||||
m_geometry = new TechDraw::BaseGeom();
|
||||
initialize();
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ class DrawViewPart;
|
||||
|
||||
class TechDrawExport hTrimCurve {
|
||||
public:
|
||||
hTrimCurve() {}
|
||||
hTrimCurve() : first(0.0), last(0.0) {}
|
||||
hTrimCurve(Handle(Geom2d_Curve) hCurveIn,
|
||||
double parm1,
|
||||
double parm2);
|
||||
|
||||
@@ -129,7 +129,7 @@ private:
|
||||
class incidenceItem
|
||||
{
|
||||
public:
|
||||
incidenceItem() {}
|
||||
incidenceItem() {iEdge = 0; angle = 0.0;}
|
||||
incidenceItem(int idx, double a, edge_t ed) {iEdge = idx; angle = a; eDesc = ed;}
|
||||
~incidenceItem() {}
|
||||
static bool iiCompare(const incidenceItem& i1, const incidenceItem& i2);
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
using namespace TechDrawGui;
|
||||
|
||||
QGCustomText::QGCustomText(QGraphicsItem* parent) :
|
||||
QGraphicsTextItem(parent)
|
||||
QGraphicsTextItem(parent), isHighlighted(false)
|
||||
{
|
||||
setCacheMode(QGraphicsItem::NoCache);
|
||||
setAcceptHoverEvents(false);
|
||||
|
||||
@@ -88,7 +88,7 @@ using namespace TechDrawGui;
|
||||
//**************************************************************
|
||||
QGIRichAnno::QGIRichAnno(QGraphicsItem* myParent,
|
||||
TechDraw::DrawRichAnno* anno) :
|
||||
m_isExporting(false)
|
||||
m_isExporting(false), m_hasHover(false)
|
||||
{
|
||||
setHandlesChildEvents(false);
|
||||
setAcceptHoverEvents(false);
|
||||
|
||||
Reference in New Issue
Block a user