summaryrefslogtreecommitdiff
path: root/l10ntools/inc/cfgmerge.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools/inc/cfgmerge.hxx')
-rw-r--r--l10ntools/inc/cfgmerge.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/l10ntools/inc/cfgmerge.hxx b/l10ntools/inc/cfgmerge.hxx
index b938a1139c3e..1eb5f55a2e58 100644
--- a/l10ntools/inc/cfgmerge.hxx
+++ b/l10ntools/inc/cfgmerge.hxx
@@ -74,13 +74,13 @@ public:
~CfgStack();
CfgStackData *Push(const OString &rTag, const OString &rId);
- CfgStackData *Pop()
+ void Pop()
{
- if (maList.empty())
- return NULL;
- CfgStackData* temp = maList.back();
- maList.pop_back();
- return temp;
+ if (!maList.empty())
+ {
+ delete maList.back();
+ maList.pop_back();
+ }
}
CfgStackData *GetStackData();