diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2013-02-11 17:57:49 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2013-02-11 17:57:49 +0000 |
| commit | e8377a78c88424dd76f8fc47c61f436efd5470e7 (patch) | |
| tree | 6fc8e7f96e4dea82d3b781a8813401c3522e0938 /src/dom/xpathtoken.cpp | |
| parent | Move cell_data_func and separator_func from text-toolbar to font-lister. (diff) | |
| download | inkscape-e8377a78c88424dd76f8fc47c61f436efd5470e7.tar.gz inkscape-e8377a78c88424dd76f8fc47c61f436efd5470e7.zip | |
cppcheck
(bzr r12117)
Diffstat (limited to 'src/dom/xpathtoken.cpp')
| -rw-r--r-- | src/dom/xpathtoken.cpp | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/src/dom/xpathtoken.cpp b/src/dom/xpathtoken.cpp index 79948e55e..216c7a069 100644 --- a/src/dom/xpathtoken.cpp +++ b/src/dom/xpathtoken.cpp @@ -937,19 +937,21 @@ Token Token::create(int type, long ival, /** * */ -TokenExecutor::TokenExecutor() +TokenExecutor::TokenExecutor() : + tokenList (), + nodeList () { - reset(); } /** * */ -TokenExecutor::TokenExecutor(const TokenExecutor &other) +TokenExecutor::TokenExecutor(const TokenExecutor &other) : + tokenList (other.tokenList), + nodeList () { - reset(); - assign(other); + // assign(other); } @@ -970,14 +972,6 @@ void TokenExecutor::assign(const TokenExecutor &other) } -/** - * - */ -void TokenExecutor::reset() -{ -} - - /** |
