diff -r ac7e4d1d9209 -r ebd48d2de13c textinput/ptienginev2/group/VariantParser.pl --- a/textinput/ptienginev2/group/VariantParser.pl Thu Aug 19 10:15:25 2010 +0300 +++ b/textinput/ptienginev2/group/VariantParser.pl Tue Aug 31 15:31:50 2010 +0300 @@ -59,7 +59,7 @@ print(INFFILE "* This component and the accompanying materials are made available\n"); print(INFFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); print(INFFILE "* which accompanies this distribution, and is available\n"); -print(INFFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\". \n"); +print(INFFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); print(INFFILE "*\n"); print(INFFILE "* Initial Contributors:\n"); print(INFFILE "* Nokia Corporation - initial contribution.\n"); @@ -128,7 +128,6 @@ print(CFFFILE "\n"); print(CFFFILE "void CPtiVariant${variant_name}DataFactory::ListLanguagesL(RArray& aResult)\n"); print(CFFFILE " {\n"); - print(CFFFILE " CleanupClosePushL(aResult);\n"); for ($ii = 0; $ii < scalar(@lang_name_array); $ii++) { @@ -141,7 +140,7 @@ print(CFFFILE " aResult.AppendL(ELang@lang_name_array[$ii]);\n"); } } - print(CFFFILE " CleanupStack::Pop();\n"); + print(CFFFILE " }\n"); print(CFFFILE "\n"); print(CFFFILE "// End of file\n"); @@ -200,7 +199,7 @@ print(RESFILE "* This component and the accompanying materials are made available\n"); print(RESFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); print(RESFILE "* which accompanies this distribution, and is available\n"); - print(RESFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n"); + print(RESFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); print(RESFILE "*\n"); print(RESFILE "* Initial Contributors:\n"); print(RESFILE "* Nokia Corporation - initial contribution.\n"); @@ -260,7 +259,7 @@ print(MMPFILE "* This component and the accompanying materials are made available\n"); print(MMPFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); print(MMPFILE "* which accompanies this distribution, and is available\n"); - print(MMPFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n"); + print(MMPFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); print(MMPFILE "*\n"); print(MMPFILE "* Initial Contributors:\n"); print(MMPFILE "* Nokia Corporation - initial contribution.\n"); @@ -341,7 +340,7 @@ print(IBYFILE "* This component and the accompanying materials are made available\n"); print(IBYFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); print(IBYFILE "* which accompanies this distribution, and is available\n"); - print(IBYFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n"); + print(IBYFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); print(IBYFILE "*\n"); print(IBYFILE "* Initial Contributors:\n"); print(IBYFILE "* Nokia Corporation - initial contribution.\n"); @@ -395,7 +394,7 @@ print(CPPFILE "* This component and the accompanying materials are made available\n"); print(CPPFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); print(CPPFILE "* which accompanies this distribution, and is available\n"); - print(CPPFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n"); + print(CPPFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); print(CPPFILE "*\n"); print(CPPFILE "* Initial Contributors:\n"); print(CPPFILE "* Nokia Corporation - initial contribution.\n"); @@ -431,7 +430,7 @@ print(CHHFILE "* This component and the accompanying materials are made available\n"); print(CHHFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); print(CHHFILE "* which accompanies this distribution, and is available\n"); - print(CHHFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n"); + print(CHHFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); print(CHHFILE "*\n"); print(CHHFILE "* Initial Contributors:\n"); print(CHHFILE "* Nokia Corporation - initial contribution.\n"); @@ -468,7 +467,7 @@ print(CFFFILE "* This component and the accompanying materials are made available\n"); print(CFFFILE "* under the terms of the License \"Eclipse Public License v1.0\"\n"); print(CFFFILE "* which accompanies this distribution, and is available\n"); - print(CFFFILE "* at the URL \"http://www.eclipse.org/legal/epl-v10.html\".\n"); + print(CFFFILE "* at the URL "http://www.eclipse.org/legal/epl-v10.html".\n"); print(CFFFILE "*\n"); print(CFFFILE "* Initial Contributors:\n"); print(CFFFILE "* Nokia Corporation - initial contribution.\n"); @@ -479,8 +478,8 @@ print(CFFFILE "*\n"); print(CFFFILE "*/\n"); print(CFFFILE "\n\n\n\n\n\n\n\n\n\n\n\n"); - print(CFFFILE "#include \n"); - print(CFFFILE "\n#include \n"); + print(CFFFILE "#include \n"); + print(CFFFILE "\n#include \n"); print(CFFFILE "\n"); print(CFFFILE "#include \"${output_dll}${variant_name}.h\"\n"); print(CFFFILE "\n"); @@ -648,7 +647,7 @@ print(CFFFILE "\n"); print(CFFFILE "void CPtiVariant${variant_name}DataFactory::ListLanguagesL(RArray& aResult)\n"); print(CFFFILE " {\n"); -print(CFFFILE " CleanupClosePushL(aResult);\n"); + for ($ii = 0; $ii < scalar(@lang_name_array); $ii++) { if (@lang_name_array[$ii] eq "Basque" || @lang_name_array[$ii] eq "Galician") @@ -660,7 +659,7 @@ print(CFFFILE " aResult.AppendL(ELang@lang_name_array[$ii]);\n"); } } -print(CFFFILE " CleanupStack::Pop();\n"); + print(CFFFILE " }\n"); print(CFFFILE "\n"); print(CFFFILE "// End of file\n");