Hexdecimal constant 0x601 was changed to decimal constant.

This commit is contained in:
Babak Mahbod
2000-09-21 19:17:23 +00:00
parent a3dcb49942
commit ee91b51116

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: typeconverter.cxx,v $ * $RCSfile: typeconverter.cxx,v $
* *
* $Revision: 1.1.1.1 $ * $Revision: 1.2 $
* *
* last change: $Author: hr $ $Date: 2000-09-18 16:13:42 $ * last change: $Author: babak.mahbod $ $Date: 2000-09-21 20:17:23 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -335,15 +335,19 @@ namespace configmgr
OSL_ASSERT(pSequenceTD); OSL_ASSERT(pSequenceTD);
OSL_ASSERT(pSequenceTD->pType); OSL_ASSERT(pSequenceTD->pType);
if (pSequenceTD && pSequenceTD->pType) if ( pSequenceTD && pSequenceTD->pType )
{ {
#if (SUPD >= 0x601) // SUPD expects a decimal constant, hence,
return staruno::Type(pSequenceTD->pType); // build version comparison is made using
#else // a decimal number
OSL_ASSERT(pSequenceTD->pType);
return staruno::Type(pSequenceTD->pType->pWeakRef); #if ( SUPD >= 601 )
#endif return staruno::Type(pSequenceTD->pType);
} #else
OSL_ASSERT(pSequenceTD->pType);
return staruno::Type(pSequenceTD->pType->pWeakRef);
#endif
} //if
return staruno::Type(); return staruno::Type();
} }