diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 22:06:13 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 22:06:13 +0000 |
commit | 9ed8d9ed09cd7a917e52b83d96d4709d268e74d1 (patch) | |
tree | 52b69bb86b3a9f780f3bdbfe3c5aab93158cc2df /toolkit | |
parent | be99549fb5f496d59aab73685e1737b15505ddfc (diff) |
INTEGRATION: CWS warnings01 (1.5.26); FILE MERGED
2005/11/14 10:36:09 pl 1.5.26.1: #i55991# removed warnings
Diffstat (limited to 'toolkit')
-rw-r--r-- | toolkit/source/helper/unomemorystream.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/toolkit/source/helper/unomemorystream.cxx b/toolkit/source/helper/unomemorystream.cxx index 71d706845c1b..0e7e728cb6a6 100644 --- a/toolkit/source/helper/unomemorystream.cxx +++ b/toolkit/source/helper/unomemorystream.cxx @@ -4,9 +4,9 @@ * * $RCSfile: unomemorystream.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-09-09 13:23:59 $ + * last change: $Author: hr $ $Date: 2006-06-19 23:06:13 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -40,8 +40,8 @@ // ---------------------------------------------------- // class UnoMemoryStream // ---------------------------------------------------- -UnoMemoryStream::UnoMemoryStream( sal_uInt32 nInitSize, sal_uInt32 nResize ) - : SvMemoryStream( nInitSize, nResize ) +UnoMemoryStream::UnoMemoryStream( sal_uInt32 nInitSize, sal_uInt32 nInitResize ) + : SvMemoryStream( nInitSize, nInitResize ) { } @@ -96,10 +96,10 @@ sal_Int32 UnoMemoryStream::available() throw(::com::sun::star::io::NotConnectedE { ::osl::Guard< ::osl::Mutex > aGuard( GetMutex() ); - sal_uInt32 nPos = Tell(); + sal_uInt32 nStreamPos = Tell(); sal_uInt32 nEnd = Seek( STREAM_SEEK_TO_END ); - Seek( nPos ); - return nEnd - nPos; + Seek( nStreamPos ); + return nEnd - nStreamPos; } void UnoMemoryStream::closeInput() throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException) |