equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002, 2003 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
80 // COma1DcfCreator::NewL |
80 // COma1DcfCreator::NewL |
81 // Two-phased constructor. |
81 // Two-phased constructor. |
82 // ----------------------------------------------------------------------------- |
82 // ----------------------------------------------------------------------------- |
83 EXPORT_C COma1DcfCreator* COma1DcfCreator::NewL() |
83 EXPORT_C COma1DcfCreator* COma1DcfCreator::NewL() |
84 { |
84 { |
85 COma1DcfCreator* self = new COma1DcfCreator(); |
85 COma1DcfCreator* self = new (ELeave) COma1DcfCreator(); |
86 |
|
87 User::LeaveIfNull(self); |
|
88 |
|
89 CleanupStack::PushL(self); |
86 CleanupStack::PushL(self); |
90 self->ConstructL(); |
87 self->ConstructL(); |
91 CleanupStack::Pop(); |
88 CleanupStack::Pop(); |
92 |
89 |
93 return self; |
90 return self; |