#65293# throw() to throw for linux

This commit is contained in:
Oliver Bolte 2000-11-28 15:11:37 +00:00
parent 782e5f579a
commit 65de56e98c

View file

@ -2,9 +2,9 @@
* *
* $RCSfile: ZipEnumeration.cxx,v $ * $RCSfile: ZipEnumeration.cxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: mtg $ $Date: 2000-11-21 17:57:07 $ * last change: $Author: obo $ $Date: 2000-11-28 16:11:37 $
* *
* 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
@ -93,7 +93,7 @@ sal_Bool SAL_CALL ZipEnumeration::hasMoreElements() throw (uno::RuntimeException
uno::Any SAL_CALL ZipEnumeration::nextElement() throw (uno::RuntimeException) uno::Any SAL_CALL ZipEnumeration::nextElement() throw (uno::RuntimeException)
{ {
if (hasMoreElements() == sal_False) if (hasMoreElements() == sal_False)
throw (container::NoSuchElementException() ); throw container::NoSuchElementException();
uno::Any aElement; uno::Any aElement;
//aElement <<= uno::Reference < package::ZipEntry > (static_cast <package::ZipEntry > (xZipList[nCurrent++])); //aElement <<= uno::Reference < package::ZipEntry > (static_cast <package::ZipEntry > (xZipList[nCurrent++]));
aElement <<= xZipList[nCurrent++]; aElement <<= xZipList[nCurrent++];