summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2011-11-10 22:23:06 +0000
committerKris <Kris.De.Gussem@hotmail.com>2011-11-10 22:23:06 +0000
commit57558641a9819e4da97bc014ac35f9323306ae1f (patch)
tree4ef9ae0a5cea8376a1750f58e167088e4629ca6d /src/widgets
parentlpe: add slider to scalar param optionally (does not work very well yet) (diff)
downloadinkscape-57558641a9819e4da97bc014ac35f9323306ae1f.tar.gz
inkscape-57558641a9819e4da97bc014ac35f9323306ae1f.zip
cppcheck: initialization / warning cleanup
(bzr r10736)
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/ege-paint-def.cpp10
-rw-r--r--src/widgets/sp-color-icc-selector.cpp3
2 files changed, 10 insertions, 3 deletions
diff --git a/src/widgets/ege-paint-def.cpp b/src/widgets/ege-paint-def.cpp
index c4325659d..542205b53 100644
--- a/src/widgets/ege-paint-def.cpp
+++ b/src/widgets/ege-paint-def.cpp
@@ -69,7 +69,8 @@ PaintDef::PaintDef() :
r(0),
g(0),
b(0),
- editable(false)
+ editable(false),
+ _listeners()
{
}
@@ -79,7 +80,8 @@ PaintDef::PaintDef( ColorType type ) :
r(0),
g(0),
b(0),
- editable(false)
+ editable(false),
+ _listeners()
{
switch (type) {
case CLEAR:
@@ -100,7 +102,8 @@ PaintDef::PaintDef( unsigned int r, unsigned int g, unsigned int b, const std::s
r(r),
g(g),
b(b),
- editable(false)
+ editable(false),
+ _listeners()
{
}
@@ -125,6 +128,7 @@ PaintDef& PaintDef::operator=( PaintDef const &other )
b = other.b;
descr = other.descr;
editable = other.editable;
+ //TODO: _listeners should be assigned a value
}
return *this;
}
diff --git a/src/widgets/sp-color-icc-selector.cpp b/src/widgets/sp-color-icc-selector.cpp
index 888cc2629..28a317717 100644
--- a/src/widgets/sp-color-icc-selector.cpp
+++ b/src/widgets/sp-color-icc-selector.cpp
@@ -129,6 +129,8 @@ ColorICCSelector::ColorICCSelector( SPColorSelector* csel )
_updating( FALSE ),
_dragging( FALSE ),
_fixupNeeded(0),
+ _fixupBtn(0),
+ _profileSel(0),
_fooCount(0),
_fooScales(0),
_fooAdj(0),
@@ -137,6 +139,7 @@ ColorICCSelector::ColorICCSelector( SPColorSelector* csel )
_fooLabel(0),
_fooMap(0),
_adj(0),
+ _slider(0),
_sbtn(0),
_label(0)
#if ENABLE_LCMS