idlehomescreen/xmluirendering/renderingplugins/xnvolumecontrolfactory/src/xnvolumecontroladapter.cpp
changeset 2 08c6ee43b396
parent 1 5315654608de
--- a/idlehomescreen/xmluirendering/renderingplugins/xnvolumecontrolfactory/src/xnvolumecontroladapter.cpp	Thu Jan 07 12:39:41 2010 +0200
+++ b/idlehomescreen/xmluirendering/renderingplugins/xnvolumecontrolfactory/src/xnvolumecontroladapter.cpp	Mon Jan 18 20:10:36 2010 +0200
@@ -155,7 +155,7 @@
 	if( aValue >= minRange && aValue <= maxRange )
 		{		    	
 		CXnDomStringPool& sp = iNode.UiEngineL()->StringPool();		
-		CXnDomPropertyValue* value = CXnDomPropertyValue::NewL( sp );
+		CXnDomPropertyValue* value = CXnDomPropertyValue::NewL( &sp );
 		CleanupStack::PushL( value );
 		value->SetFloatValueL( CXnDomPropertyValue::ENumber, aValue );
 		CXnProperty* valueProperty = CXnProperty::NewL( XnPropertyNames::action::KValue, value, sp );
@@ -184,7 +184,7 @@
 	CXnDomStringPool& sp = iNode.UiEngineL()->StringPool();
 	
 	// Set min value property
-	CXnDomPropertyValue* minValue = CXnDomPropertyValue::NewL( sp );
+	CXnDomPropertyValue* minValue = CXnDomPropertyValue::NewL( &sp );
 	CleanupStack::PushL( minValue );
 	minValue->SetFloatValueL( CXnDomPropertyValue::ENumber, aMinimumValue );
 	CXnProperty* minValueProperty = CXnProperty::NewL( XnPropertyNames::volumecontrol::KMinRange, minValue, sp );
@@ -194,7 +194,7 @@
 	CleanupStack::Pop( minValueProperty );
 
 	// Set max value property
-	CXnDomPropertyValue* maxValue = CXnDomPropertyValue::NewL( sp );
+	CXnDomPropertyValue* maxValue = CXnDomPropertyValue::NewL( &sp );
 	CleanupStack::PushL( maxValue );
 	maxValue->SetFloatValueL( CXnDomPropertyValue::ENumber, aMaximumValue );
 	CXnProperty* maxValueProperty = CXnProperty::NewL( XnPropertyNames::volumecontrol::KMaxRange, maxValue, sp );
@@ -249,7 +249,7 @@
     if( aProperty->Property()->Name() == XnPropertyNames::volumecontrol::KVolumeLevelAdjustment )
     	{
     	CXnDomStringPool& sp = iNode.UiEngineL()->StringPool();
-    	CXnDomPropertyValue* value = CXnDomPropertyValue::NewL( sp );
+    	CXnDomPropertyValue* value = CXnDomPropertyValue::NewL( &sp );
     	CleanupStack::PushL( value );
     	
     	const TDesC8& strValue = aProperty->StringValue();