equal
deleted
inserted
replaced
79 CleanupStack::PushL( nameValue ); |
79 CleanupStack::PushL( nameValue ); |
80 nameValue->SetStringValueL( CXnDomPropertyValue::EString, aTriggerName ); |
80 nameValue->SetStringValueL( CXnDomPropertyValue::EString, aTriggerName ); |
81 CXnProperty* name = CXnProperty::NewL( |
81 CXnProperty* name = CXnProperty::NewL( |
82 XnPropertyNames::action::trigger::KName, |
82 XnPropertyNames::action::trigger::KName, |
83 nameValue, |
83 nameValue, |
84 aUiEngine.ODT()->DomDocument().StringPool() ); |
84 *aUiEngine.ODT()->DomDocument().StringPool() ); |
85 CleanupStack::Pop( nameValue ); |
85 CleanupStack::Pop( nameValue ); |
86 CleanupStack::PushL( name ); |
86 CleanupStack::PushL( name ); |
87 node->SetPropertyL( name ); |
87 node->SetPropertyL( name ); |
88 CleanupStack::Pop( 2, node ); // name |
88 CleanupStack::Pop( 2, node ); // name |
89 |
89 |
114 // BuildEditStateTriggerL |
114 // BuildEditStateTriggerL |
115 // ----------------------------------------------------------------------------- |
115 // ----------------------------------------------------------------------------- |
116 // |
116 // |
117 static CXnNode* BuildEditStateTriggerL( CXnUiEngine& aUiEngine ) |
117 static CXnNode* BuildEditStateTriggerL( CXnUiEngine& aUiEngine ) |
118 { |
118 { |
119 CXnDomStringPool& sp( aUiEngine.ODT()->DomDocument().StringPool() ); |
119 CXnDomStringPool* sp( aUiEngine.ODT()->DomDocument().StringPool() ); |
120 |
120 |
121 CXnProperty* value = CXnProperty::NewL( |
121 CXnProperty* value = CXnProperty::NewL( |
122 XnPropertyNames::action::KValue, |
122 XnPropertyNames::action::KValue, |
123 KNullDesC8, CXnDomPropertyValue::EString, sp ); |
123 KNullDesC8, CXnDomPropertyValue::EString, *sp ); |
124 CleanupStack::PushL( value ); |
124 CleanupStack::PushL( value ); |
125 |
125 |
126 CXnNode* trigger( BuildTriggerL( |
126 CXnNode* trigger( BuildTriggerL( |
127 aUiEngine, XnPropertyNames::action::trigger::name::KEditMode ) ); |
127 aUiEngine, XnPropertyNames::action::trigger::name::KEditMode ) ); |
128 CleanupStack::PushL( trigger ); |
128 CleanupStack::PushL( trigger ); |