|
From: Frank V. C. <fr...@us...> - 2001-04-26 10:22:38
|
Update of /cvsroot/corelinux/clfw/src/libs/Persist
In directory usw-pr-cvs1:/tmp/cvs-serv6603/src/libs/Persist
Modified Files:
SchemaStore.cpp
Log Message:
Complete schema management and example
Index: SchemaStore.cpp
===================================================================
RCS file: /cvsroot/corelinux/clfw/src/libs/Persist/SchemaStore.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** SchemaStore.cpp 2001/04/25 03:27:22 1.6
--- SchemaStore.cpp 2001/04/26 10:22:35 1.7
***************
*** 1167,1172 ****
if( cncKey != NULLPTR )
{
aCncAtt = Attribute::create();
! aCncAtt->setKey( cncKey );
aCncAtt->setValue( aConcept );
}
--- 1167,1174 ----
if( cncKey != NULLPTR )
{
+ FrameworkStringPtr aKeyCopy( FrameworkString::create() );
+ *aKeyCopy = cncKey->getValue();
aCncAtt = Attribute::create();
! aCncAtt->setKey( aKeyCopy );
aCncAtt->setValue( aConcept );
}
|