secureswitools/swisistools/source/sisxlibrary/sisstring.h
changeset 60 245df5276b97
parent 0 ba25891c3a9e
child 81 42552535c1ac
--- a/secureswitools/swisistools/source/sisxlibrary/sisstring.h	Tue Jul 06 14:23:31 2010 +0300
+++ b/secureswitools/swisistools/source/sisxlibrary/sisstring.h	Wed Aug 18 09:55:45 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of the License "Eclipse Public License v1.0"
@@ -261,7 +261,7 @@
 		{
 		return true;
 		}
-	return iData.compare (aString) != 0;
+	return wcscmp(iData.c_str(), aString) != 0;
 	}
 
 
@@ -278,7 +278,7 @@
 inline void CSISString::AddPackageEntry(std::wostream& aStream, bool aVerbose) const
 	{
 	(void)aVerbose;
-	aStream << iData;
+	aStream << iData.c_str();
 	}
 
 #endif // __SISSTRING_H__