On 01/19/2012 11:00 AM, Michael Meeks wrote:
connectivity/source/drivers/dbase/DTable.cxx | 2 +-
vcl/inc/vcl/graphictools.hxx | 4 ++--
vcl/source/gdi/graphictools.cxx | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit c6b8c461bb4b119f833517112813def858903415
Author: Michael Meeks<[email protected]>
Date: Thu Jan 19 09:58:23 2012 +0000
WaE: fix misc. SvStream operator problems.
diff --git a/connectivity/source/drivers/dbase/DTable.cxx
b/connectivity/source/drivers/dbase/DTable.cxx
index 40f1469..dde41d2 100644
--- a/connectivity/source/drivers/dbase/DTable.cxx
+++ b/connectivity/source/drivers/dbase/DTable.cxx
@@ -1311,7 +1311,7 @@ sal_Bool ODbaseTable::CreateFile(const INetURLObject& aFile,
sal_Bool& bCreateMe
(*m_pFileStream)<< cTyp;
if ( nDbaseType == VisualFoxPro )
- (*m_pFileStream)<< (nRecLength-1);
+ (*m_pFileStream)<< sal_uInt16(nRecLength-1);
This would previously have been written as four bytes. Are you sure
that writing it as two bytes is what is wanted?
Stephan
else
m_pFileStream->Write(aBuffer, 4);
_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice