diff options
author | David Tardon <dtardon@redhat.com> | 2011-02-08 08:15:39 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2011-02-08 08:15:39 +0100 |
commit | abf3bf78f26e0c3529916eb069b89fca466241bb (patch) | |
tree | b7dbfb3eb6ea57526d01f1209428f4fcf25f19af /basic/source | |
parent | c5731aeeeef41c7aab64820ad0986f80705f780a (diff) |
assign the right var
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/sbx/sbxcurr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxcurr.cxx b/basic/source/sbx/sbxcurr.cxx index 1c039ef66d59..de80ea281b16 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: |