[Libreoffice-commits] core.git: configmgr/source
Julien Nabet
serval2412 at yahoo.fr
Mon Jun 17 13:50:24 PDT 2013
configmgr/source/valueparser.cxx | 2 +-
configmgr/source/xcdparser.cxx | 2 +-
configmgr/source/xcsparser.cxx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 032d5126e41562917b91b8f4826b0be628169968
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Mon Jun 17 22:49:51 2013 +0200
cppcheck: fix some uninitMemberVar in configmgr part
Change-Id: I9b18f033c46e16cf75cc513d00712c40bfddda14
diff --git a/configmgr/source/valueparser.cxx b/configmgr/source/valueparser.cxx
index 9f93cd8..c717d0e 100644
--- a/configmgr/source/valueparser.cxx
+++ b/configmgr/source/valueparser.cxx
@@ -257,7 +257,7 @@ css::uno::Any parseValue(
}
-ValueParser::ValueParser(int layer): layer_(layer) {}
+ValueParser::ValueParser(int layer): state_(STATE_TEXT), layer_(layer) {}
ValueParser::~ValueParser() {}
diff --git a/configmgr/source/xcdparser.cxx b/configmgr/source/xcdparser.cxx
index ebf14fe..359c73d 100644
--- a/configmgr/source/xcdparser.cxx
+++ b/configmgr/source/xcdparser.cxx
@@ -41,7 +41,7 @@ namespace configmgr {
XcdParser::XcdParser(
int layer, std::set< OUString > const & processedDependencies, Data & data):
layer_(layer), processedDependencies_(processedDependencies), data_(data),
- state_(STATE_START)
+ state_(STATE_START), dependencyOptional_(false), nesting_(0)
{}
XcdParser::~XcdParser() {}
diff --git a/configmgr/source/xcsparser.cxx b/configmgr/source/xcsparser.cxx
index b60cb1d..6f4744d 100644
--- a/configmgr/source/xcsparser.cxx
+++ b/configmgr/source/xcsparser.cxx
@@ -114,7 +114,7 @@ void merge(
}
XcsParser::XcsParser(int layer, Data & data):
- valueParser_(layer), data_(data), state_(STATE_START)
+ valueParser_(layer), data_(data), state_(STATE_START), ignoring_(0)
{}
XcsParser::~XcsParser() {}
More information about the Libreoffice-commits
mailing list