diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2007-04-04 06:49:34 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2007-04-04 06:49:34 +0000 |
commit | 1fcee95827a1191a98f3031da11c35a66093b172 (patch) | |
tree | f7145d66df11df01da59414c609772e474a27650 /desktop/source/migration/wizard.cxx | |
parent | 9cffff602e7f315b24ae9b357506ae6166511e2a (diff) |
INTEGRATION: CWS updchk05 (1.12.58); FILE MERGED
2007/02/19 09:06:32 dv 1.12.58.2: #i72084# renamed local variable due to name clash
2007/02/01 08:26:28 dv 1.12.58.1: #i72084# delete resmgr after use
Diffstat (limited to 'desktop/source/migration/wizard.cxx')
-rw-r--r-- | desktop/source/migration/wizard.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop/source/migration/wizard.cxx b/desktop/source/migration/wizard.cxx index f514b792d6..1ebbe58c0b 100644 --- a/desktop/source/migration/wizard.cxx +++ b/desktop/source/migration/wizard.cxx @@ -4,9 +4,9 @@ * * $RCSfile: wizard.cxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: vg $ $Date: 2006-11-21 17:29:19 $ + * last change: $Author: rt $ $Date: 2007-04-04 07:49:34 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -717,7 +717,7 @@ OUString FirstStartWizard::getLicensePath() OString aMgrName = OString("dkt") + OString::valueOf((sal_Int32)SUPD, 10); AllSettings aSettings(Application::GetSettings()); aLocale = aSettings.GetUILocale(); - ResMgr::SearchCreateResMgr(aMgrName, aLocale); + ResMgr* pLocalResMgr = ResMgr::SearchCreateResMgr(aMgrName, aLocale); aLangString = aLocale.Language; if ( aLocale.Country.getLength() != 0 ) @@ -745,6 +745,7 @@ OUString FirstStartWizard::getLicensePath() + aLangString + OUString::createFromAscii(szUNXLicenseExt); #endif + delete pLocalResMgr; return aLicensePath; } } |