summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-10-29 21:55:06 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-10-29 21:55:06 -0400
commit04f4a0c1366d1863b93d7d84a8534791696b7477 (patch)
tree5d5d572d19b92c28dd34b845f9b02ced2ae643f8 /svtools
parent7e04bc142e7ce35623fb1336a04baae9c523ebbf (diff)
Somehow this change was lost during git rebase.
Change-Id: Ic20584b5da2920dc8f2761b7f2c65c58713c5895
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/contnr/treelist.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/svtools/source/contnr/treelist.cxx b/svtools/source/contnr/treelist.cxx
index 9714697b2d84..a97c02b9cfac 100644
--- a/svtools/source/contnr/treelist.cxx
+++ b/svtools/source/contnr/treelist.cxx
@@ -1378,8 +1378,7 @@ SvTreeList::GetChildIterators(const SvTreeListEntry* pParent) const
{
typedef std::pair<SvTreeListEntries::const_iterator, SvTreeListEntries::const_iterator> IteratorPair;
- static const SvTreeEntryList dummy; // prevent singular iterator asserts
- IteratorPair aRet(dummy.begin(), dummy.end());
+ IteratorPair aRet;
if (!pParent)
pParent = pRootItem;
@@ -1399,8 +1398,7 @@ std::pair<SvTreeListEntries::iterator, SvTreeListEntries::iterator>
{
typedef std::pair<SvTreeListEntries::iterator, SvTreeListEntries::iterator> IteratorPair;
- static SvTreeEntryList dummy; // prevent singular iterator asserts
- IteratorPair aRet(dummy.begin(), dummy.end());
+ IteratorPair aRet;
if (!pParent)
pParent = pRootItem;