summaryrefslogtreecommitdiff
path: root/xmlhelp
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:39:28 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 23:39:28 +0000
commit722293cb4caf4f275c1d3eaa828d4fe9b926417c (patch)
treee094e98779e9acf816ad805c7431351a209d2f2b /xmlhelp
parent0d2c02ce191ac9ae0d25a46445c8f009040029ef (diff)
INTEGRATION: CWS warnings01 (1.2.194); FILE MERGED
2005/12/15 16:36:43 ab 1.2.194.1: #i53898# Removed warnings for unxlngi6/unxlngi6.pro
Diffstat (limited to 'xmlhelp')
-rw-r--r--xmlhelp/source/cxxhelp/provider/inputstream.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/xmlhelp/source/cxxhelp/provider/inputstream.cxx b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
index 23a4d3c1926b..7af6584486a8 100644
--- a/xmlhelp/source/cxxhelp/provider/inputstream.cxx
+++ b/xmlhelp/source/cxxhelp/provider/inputstream.cxx
@@ -10,8 +10,8 @@ using namespace com::sun::star::ucb;
XInputStream_impl::XInputStream_impl( const rtl::OUString& aUncPath )
- : m_aFile( aUncPath ),
- m_bIsOpen( false )
+ : m_bIsOpen( false ),
+ m_aFile( aUncPath )
{
m_bIsOpen = ( osl::FileBase::E_None == m_aFile.open( OpenFlag_Read ) );
}
@@ -82,7 +82,7 @@ XInputStream_impl::readBytes(
// Shrink aData in case we read less than nBytesToRead (XInputStream
// documentation does not tell whether this is required, and I do not know
// if any code relies on this, so be conservative---SB):
- if (nrc != nBytesToRead)
+ if (nrc != sal::static_int_cast<sal_uInt64>( nBytesToRead) )
aData.realloc(sal_Int32(nrc));
return ( sal_Int32 ) nrc;
}