summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/misc/linkeddocuments.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 12:42:26 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 12:42:26 +0000
commit951e9b65c12455366673bee3c8445e93d319f7e9 (patch)
tree8355f1ce9c55263735400693bcda5952c3fe8b4b /dbaccess/source/ui/misc/linkeddocuments.cxx
parente6a200d17884fc7f064299e7060082afdd483f98 (diff)
INTEGRATION: CWS sb59 (1.18.30); FILE MERGED
2006/08/29 11:44:30 sb 1.18.30.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'dbaccess/source/ui/misc/linkeddocuments.cxx')
-rw-r--r--dbaccess/source/ui/misc/linkeddocuments.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/misc/linkeddocuments.cxx b/dbaccess/source/ui/misc/linkeddocuments.cxx
index bb92d29f5945..bb88f6ecbded 100644
--- a/dbaccess/source/ui/misc/linkeddocuments.cxx
+++ b/dbaccess/source/ui/misc/linkeddocuments.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: linkeddocuments.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 07:17:44 $
+ * last change: $Author: obo $ $Date: 2006-10-12 13:42:26 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -166,10 +166,10 @@ namespace dbaui
aResult[1] = static_cast<sal_Int8>(( n1 << 8 ) >> 24);
aResult[2] = static_cast<sal_Int8>(( n1 << 16 ) >> 24);
aResult[3] = static_cast<sal_Int8>(( n1 << 24 ) >> 24);
- aResult[4] = n2 >> 8;
- aResult[5] = ( n2 << 8 ) >> 8;
- aResult[6] = n3 >> 8;
- aResult[7] = ( n3 << 8 ) >> 8;
+ aResult[4] = static_cast<sal_Int8>(n2 >> 8);
+ aResult[5] = static_cast<sal_Int8>(( n2 << 8 ) >> 8);
+ aResult[6] = static_cast<sal_Int8>(n3 >> 8);
+ aResult[7] = static_cast<sal_Int8>(( n3 << 8 ) >> 8);
aResult[8] = b8;
aResult[9] = b9;
aResult[10] = b10;