Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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<michael.meeks@suse.com>
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);

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.