summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-09-25 05:27:36 +0200
committerNoel Grandin <noel@peralex.com>2014-09-26 15:25:40 +0200
commitd46b16e1e495c153f70633d2da5c2bb0aba85cc9 (patch)
tree79134004da6c8e06ef5d1a007c4d35340c463794 /connectivity
parent8f684e21de081350f0ce1f0bd0420f4775c5388d (diff)
remove unnecessary casts's
left over from our conversion of the SvStream output operators to more specific methods Change-Id: I63f18be8e940098c2acbbc73ee49ede3a949fcb2
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/dbase/DTable.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/drivers/dbase/DTable.cxx b/connectivity/source/drivers/dbase/DTable.cxx
index 54b540799b86..bdea870857be 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -1308,7 +1308,7 @@ bool ODbaseTable::CreateFile(const INetURLObject& aFile, bool& bCreateMemo)
(*m_pFileStream).WriteChar( cTyp );
if ( nDbaseType == VisualFoxPro )
- (*m_pFileStream).WriteUInt32( sal_uInt32(nRecLength-1) );
+ (*m_pFileStream).WriteUInt32( nRecLength-1 );
else
m_pFileStream->Write(aBuffer, 4);
@@ -1422,7 +1422,7 @@ bool ODbaseTable::CreateMemoFile(const INetURLObject& aFile)
m_pMemoStream->SetStreamSize(512);
m_pMemoStream->Seek(0L);
- (*m_pMemoStream).WriteUInt32( sal_uInt32(1) ); // pointer to the first free block
+ (*m_pMemoStream).WriteUInt32( 1 ); // pointer to the first free block
m_pMemoStream->Flush();
delete m_pMemoStream;