--- a/brandingserver/bsserver/cbsinstallhandler.cpp Thu Aug 19 10:14:19 2010 +0300
+++ b/brandingserver/bsserver/cbsinstallhandler.cpp Tue Aug 31 15:31:29 2010 +0300
@@ -2,7 +2,7 @@
* Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
-* under the terms of "Eclipse Public License v1.0"
+* under the terms of the License "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
@@ -11,11 +11,12 @@
*
* Contributors:
*
-* Description: CBSInstallhandler.cpp
+* Description: CBSInstallhandler.cpp
*
*/
+
// INCLUDE FILES
#include <apgcli.h>
#include <apacmdln.h>
@@ -25,7 +26,7 @@
#include <e32property.h>
#include "cbsinstallhandler.h"
-#include "debugtrace.h"
+#include "DebugTrace.h"
#include "bsimportconstants.h"
#include "cbsstoragemanager.h"
@@ -343,7 +344,7 @@
// aaa$bbb -> aaa$bbb.install
CDir* dir = NULL;
iFs.GetDir( file, KEntryAttNormal, ESortNone, dir );
- if( dir && dir->Count() > 0 )
+ if( dir->Count() > 0 )
{
// brand is installed
delete dir;
@@ -362,7 +363,7 @@
// check file with different versions:
// aaa$bbb -> aaa$bbb$*.install
iFs.GetDir( file, KEntryAttNormal, ESortNone, dir );
- if( dir && dir->Count() > 0 )
+ if( dir->Count() > 0 )
{
// brand is installed
delete dir;