Kaydet (Commit) 359a2b0e authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS toolbars2 (1.2.10); FILE MERGED

2004/08/10 13:41:34 gh 1.2.10.2: #i32516#using new SmartIds in Testtool
2004/08/09 08:24:57 gh 1.2.10.1: #i32449#use SmartId from VCL
üst 159dfcaf
......@@ -2,9 +2,9 @@
*
* $RCSfile: retstrm.cxx,v $
*
* $Revision: 1.2 $
* $Revision: 1.3 $
*
* last change: $Author: obo $ $Date: 2004-07-06 12:05:00 $
* last change: $Author: obo $ $Date: 2004-09-09 17:23:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
......@@ -129,13 +129,14 @@ void RetStream::Write( SbxValue &aValue )
void RetStream::Write( SmartId* pId )
{
if ( pId->IsNumeric() )
Write( pId->GetNum() );
else
DBG_ASSERT( !pId->HasString() || !pId->HasNumeric(), "SmartId contains Number and String. using String only." )
if ( pId->HasString() )
{
String aTmp( pId->GetStr() );
Write( &aTmp );
}
else
Write( pId->GetNum() );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment