Fixed NumberedSection::moreThanOneSection()

This commit is contained in:
Klaus Schmidinger 2004-01-05 14:54:55 +01:00
parent 2bf718b62f
commit a8482ae3ff
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
* the Free Software Foundation; either version 2 of the License, or * * the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. * * (at your option) any later version. *
* * * *
* $Id: si.h 1.3 2003/12/25 13:30:56 kls Exp $ * $Id: si.h 1.4 2004/01/05 14:54:55 kls Exp $
* * * *
***************************************************************************/ ***************************************************************************/
@ -207,7 +207,7 @@ public:
int getVersionNumber() const; int getVersionNumber() const;
int getSectionNumber() const; int getSectionNumber() const;
int getLastSectionNumber() const; int getLastSectionNumber() const;
bool moreThanOneSection() const { return getLastSectionNumber()>1; } bool moreThanOneSection() const { return getLastSectionNumber()>0; }
}; };
class VariableLengthPart : public Object { class VariableLengthPart : public Object {