]> Creatis software - gdcm.git/blobdiff - src/gdcmHeader.cxx
* To remove warnings
[gdcm.git] / src / gdcmHeader.cxx
index a8966f1512a7e57e6a2cf2dda41b2e15ae199947..eb927e3c314dd8d3cb1d526bbd91a6d265c02c1a 100644 (file)
@@ -103,7 +103,6 @@ void gdcmHeader::PrintPubDict(std::ostream & os) {
 
 //-----------------------------------------------------------------------------
 // Public
-
 /**
  * \ingroup gdcmHeader
  * \brief  This predicate, based on hopefully reasonable heuristics,
@@ -1251,7 +1250,7 @@ gdcmElValue* gdcmHeader::GetElValueByNumber(guint16 Group, guint16 Elem) {
  * @return  integer acts as a boolean  
  */
 bool gdcmHeader::CheckIfExistByNumber(guint16 Group, guint16 Elem ) {
-   return (PubElValSet.CheckIfExistByNumber(Group, Elem));
+   return (PubElValSet.CheckIfExistByNumber(Group, Elem)>0);
 }
 
 /**