diff options
author | Bálint Dózsa <dozsabalint@gmail.com> | 2011-03-08 11:57:24 +0100 |
---|---|---|
committer | Pierre-André Jacquod <pjacquod@alumni.ethz.ch> | 2011-03-08 21:41:41 +0100 |
commit | f7114f0245a00b10b0a30245729b4100179be08f (patch) | |
tree | c867906b8f2f1232b8cbf008879e44cc13b2eb42 /xmloff/source/script/XMLEventsImportContext.cxx | |
parent | 5ea935885018b33f1f9e3a8e1f1cfd129d9bd6d2 (diff) |
Remove commented out code
Diffstat (limited to 'xmloff/source/script/XMLEventsImportContext.cxx')
-rw-r--r-- | xmloff/source/script/XMLEventsImportContext.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/xmloff/source/script/XMLEventsImportContext.cxx b/xmloff/source/script/XMLEventsImportContext.cxx index 8ef1cc9e6ce0..d24b2032eb2e 100644 --- a/xmloff/source/script/XMLEventsImportContext.cxx +++ b/xmloff/source/script/XMLEventsImportContext.cxx @@ -87,15 +87,6 @@ XMLEventsImportContext::~XMLEventsImportContext() { // // if, for whatever reason, the object gets destroyed prematurely, // // we need to delete the collected events -// EventsVector::iterator aEnd = aCollectEvents.end(); -// for(EventsVector::iterator aIter = aCollectEvents.begin(); -// aIter != aEnd; -// aIter++) -// { -// EventNameValuesPair* pPair = &(*aIter); -// delete pPair; -// } -// aCollectEvents.clear(); } @@ -175,8 +166,6 @@ void XMLEventsImportContext::SetEvents( ++aIter) { AddEventValues(aIter->first, aIter->second); -// EventNameValuesPair* pPair = &(*aIter); -// delete pPair; } aCollectEvents.clear(); } @@ -235,9 +224,6 @@ void XMLEventsImportContext::AddEventValues( } else { -// EventNameValuesPair* aPair = new EventNameValuesPair(rEventName, -// rValues); -// aCollectEvents.push_back(*aPair); EventNameValuesPair aPair(rEventName, rValues); aCollectEvents.push_back(aPair); } |