diff options
Diffstat (limited to 'unotools/source/streaming/streamwrap.cxx')
-rw-r--r-- | unotools/source/streaming/streamwrap.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/unotools/source/streaming/streamwrap.cxx b/unotools/source/streaming/streamwrap.cxx index e064f2222b20..871b890d9f56 100644 --- a/unotools/source/streaming/streamwrap.cxx +++ b/unotools/source/streaming/streamwrap.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -238,8 +238,8 @@ void SAL_CALL OOutputStreamWrapper::writeBytes(const staruno::Sequence< sal_Int8 { sal_uInt32 nWritten = rStream.Write(aData.getConstArray(),aData.getLength()); ErrCode err = rStream.GetError(); - if ( (ERRCODE_NONE != err) - || (nWritten != (sal_uInt32)aData.getLength()) + if ( (ERRCODE_NONE != err) + || (nWritten != (sal_uInt32)aData.getLength()) ) { throw stario::BufferSizeExceededException(::rtl::OUString(),static_cast<staruno::XWeak*>(this)); @@ -349,8 +349,8 @@ void SAL_CALL OStreamWrapper::writeBytes(const staruno::Sequence< sal_Int8 >& aD { sal_uInt32 nWritten = m_pSvStream->Write(aData.getConstArray(),aData.getLength()); ErrCode err = m_pSvStream->GetError(); - if ( (ERRCODE_NONE != err) - || (nWritten != (sal_uInt32)aData.getLength()) + if ( (ERRCODE_NONE != err) + || (nWritten != (sal_uInt32)aData.getLength()) ) { throw stario::BufferSizeExceededException(::rtl::OUString(),static_cast<staruno::XWeak*>(this)); |