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
@@ -337,13 +337,17 @@ namespace configmgr
if ( pSequenceTD && pSequenceTD->pType ) if ( pSequenceTD && pSequenceTD->pType )
{ {
#if (SUPD >= 0x601) // SUPD expects a decimal constant, hence,
// build version comparison is made using
// a decimal number
#if ( SUPD >= 601 )
return staruno::Type(pSequenceTD->pType); return staruno::Type(pSequenceTD->pType);
#else #else
OSL_ASSERT(pSequenceTD->pType); OSL_ASSERT(pSequenceTD->pType);
return staruno::Type(pSequenceTD->pType->pWeakRef); return staruno::Type(pSequenceTD->pType->pWeakRef);
#endif #endif
} } //if
return staruno::Type(); return staruno::Type();
} }