diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 09:42:00 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 09:42:00 +0000 |
commit | 2d2918ba5ae939e4c6c6cdafcfa6434c447105f3 (patch) | |
tree | 9de7ed70557355b51f9d0c28c49cd2458b1a5e3d /idl | |
parent | 44653724f45559a6d6009d0e39661252480e5aaf (diff) |
INTEGRATION: CWS warnings01 (1.2.8); FILE MERGED
2006/02/27 09:35:57 sb 1.2.8.2: #i53898# Made code waring-free.
2005/10/14 11:27:21 sb 1.2.8.1: #i53898# Made code warning-free.
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/objects/bastype.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/idl/source/objects/bastype.cxx b/idl/source/objects/bastype.cxx index 6a19a02186a6..9cbbfbc412fe 100644 --- a/idl/source/objects/bastype.cxx +++ b/idl/source/objects/bastype.cxx @@ -4,9 +4,9 @@ * * $RCSfile: bastype.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2005-09-07 17:49:53 $ + * last change: $Author: hr $ $Date: 2006-06-19 10:42:00 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -42,7 +42,6 @@ #include <globals.hxx> #include <hash.hxx> #include <database.hxx> -#pragma hdrstop /************************************************************************/ ByteString MakeDefineName( const ByteString & rName ) @@ -293,9 +292,9 @@ SvStream& operator << (SvStream & rStm, const SvVersion & r ) // Format 4 Bit fuer Major, dann 4 Bit fuer Minor. // 0.0 wird nicht komprimiert - BYTE n = r.GetMajorVersion() << 4; + int n = r.GetMajorVersion() << 4; n |= r.GetMinorVersion(); - rStm << n; + rStm << (BYTE)n; } else { |