summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxbyte.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-05-05 07:38:58 +0000
committerRüdiger Timm <rt@openoffice.org>2006-05-05 07:38:58 +0000
commitf3a8f42d20aaca04b4d1a8d8bd89f5aeea011d5f (patch)
treee7b30385dc356811a76e56ef97df44146a280f3b /basic/source/sbx/sbxbyte.cxx
parent52893ccc9a65c482c97b0ca707d7ee29bd5f8154 (diff)
INTEGRATION: CWS ab25 (1.3.64); FILE MERGED
2006/04/12 10:30:11 ab 1.3.64.1: #i17825# byte type
Diffstat (limited to 'basic/source/sbx/sbxbyte.cxx')
-rw-r--r--basic/source/sbx/sbxbyte.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxbyte.cxx b/basic/source/sbx/sbxbyte.cxx
index b1508e53086f..85df6c314dfb 100644
--- a/basic/source/sbx/sbxbyte.cxx
+++ b/basic/source/sbx/sbxbyte.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: sbxbyte.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: rt $ $Date: 2005-09-07 21:46:31 $
+ * last change: $Author: rt $ $Date: 2006-05-05 08:38:58 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -293,7 +293,7 @@ void ImpPutByte( SbxValues* p, BYTE n )
case SbxLPSTR:
if( !p->pString )
p->pString = new XubString;
- *p->pString = (USHORT)n;
+ ImpCvtNum( (double) n, 0, *p->pString );
break;
case SbxOBJECT:
{