diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-02-28 16:58:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-02-28 16:59:01 +0000 |
commit | ac08d3f6967b241d6028d9cd17cce583ac72871e (patch) | |
tree | b58118c044cd90c7b0f59e364bc3c1a97fb2fba5 /connectivity | |
parent | dc505d3a5cdebe6271fcd6dae7b4d69e7c1af13e (diff) |
we don't want any of these to be streamed out/in as 64bit values
Diffstat (limited to 'connectivity')
-rw-r--r-- | connectivity/source/drivers/dbase/DTable.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx index 82777ca7b7ba..63f792e5c4cf 100644 --- a/connectivity/source/drivers/dbase/DTable.cxx +++ b/connectivity/source/drivers/dbase/DTable.cxx @@ -1223,7 +1223,7 @@ sal_Bool ODbaseTable::CreateFile(const INetURLObject& aFile, sal_Bool& bCreateMe (*m_pFileStream) << (sal_uInt8) aDate.GetMonth(); (*m_pFileStream) << (sal_uInt8) aDate.GetDay(); - (*m_pFileStream) << 0L; // number of data records + (*m_pFileStream) << (sal_uInt32)0; // number of data records (*m_pFileStream) << (sal_uInt16)((m_pColumns->getCount()+1) * 32 + 1); // header information, // pColumns contains always an additional column (*m_pFileStream) << (sal_uInt16) 0; // record length will be determined later @@ -1425,7 +1425,7 @@ sal_Bool ODbaseTable::CreateMemoFile(const INetURLObject& aFile) m_pMemoStream->SetStreamSize(512); m_pMemoStream->Seek(0L); - (*m_pMemoStream) << long(1); // pointer to the first free block + (*m_pMemoStream) << sal_uInt32(1); // pointer to the first free block m_pMemoStream->Flush(); delete m_pMemoStream; |