diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-02 14:37:06 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2014-10-03 05:25:41 +0000 |
commit | c625525ddcc5bd1ceb1be95031da6047280d623c (patch) | |
tree | f3469c6d418dadd723d4b91b8166015b3f6442b9 /basic/source/runtime/runtime.cxx | |
parent | 4a0fc2fb026ee46f7ef8e75135e2ae9b411ae134 (diff) |
rename SvRef::AddRef to AddFirstRef
to make it's intended purpose clearly distinguishable from AddNextRef
Change-Id: I5da780b48b19fd873667b648031bc394113f953b
Reviewed-on: https://gerrit.libreoffice.org/11763
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'basic/source/runtime/runtime.cxx')
-rw-r--r-- | basic/source/runtime/runtime.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index e8354d69ddf5..8cae088a738f 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -1406,7 +1406,7 @@ void SbiRuntime::StepCompare( SbxOperator eOp ) { pNULL = new SbxVariable; pNULL->PutNull(); - pNULL->AddRef(); + pNULL->AddFirstRef(); } PushVar( pNULL ); } @@ -1416,7 +1416,7 @@ void SbiRuntime::StepCompare( SbxOperator eOp ) { pTRUE = new SbxVariable; pTRUE->PutBool( true ); - pTRUE->AddRef(); + pTRUE->AddFirstRef(); } PushVar( pTRUE ); } @@ -1426,7 +1426,7 @@ void SbiRuntime::StepCompare( SbxOperator eOp ) { pFALSE = new SbxVariable; pFALSE->PutBool( false ); - pFALSE->AddRef(); + pFALSE->AddFirstRef(); } PushVar( pFALSE ); } |