summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-02-08 08:15:39 +0100
committerDavid Tardon <dtardon@redhat.com>2011-02-08 08:15:39 +0100
commit5f08b8c1cc989b7d0dd89b8fd306cd46efe60dd7 (patch)
tree468469cf7951e65918be475a73f6d4b5d2145477 /basic
parent40537c0613431e76d3ccaff23218caa78b6c18cf (diff)
assign the right var
Diffstat (limited to 'basic')
-rw-r--r--basic/source/sbx/sbxcurr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxcurr.cxx b/basic/source/sbx/sbxcurr.cxx
index 1c039ef66d..de80ea281b 100644
--- a/basic/source/sbx/sbxcurr.cxx
+++ b/basic/source/sbx/sbxcurr.cxx
@@ -488,7 +488,7 @@ start:
{
SbxBase::SetError( SbxERR_OVERFLOW ); val = SbxMININT;
}
- *p->pInteger = (INT16) r; break;
+ *p->pInteger = (INT16) val; break;
}
case SbxBYREF | SbxERROR:
case SbxBYREF | SbxUSHORT: