summaryrefslogtreecommitdiff
path: root/sot/source/sdstor/stgavl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/sdstor/stgavl.cxx')
-rw-r--r--sot/source/sdstor/stgavl.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgavl.cxx b/sot/source/sdstor/stgavl.cxx
index fac1ed72cf5c..b7a3d9f9b2ea 100644
--- a/sot/source/sdstor/stgavl.cxx
+++ b/sot/source/sdstor/stgavl.cxx
@@ -70,7 +70,10 @@ short StgAvlNode::Locate
{
// check for pPivot
if( pCur->m_nBalance != 0 )
- *pPivot = pCur, *pParent = *pPrev;
+ {
+ *pPivot = pCur;
+ *pParent = *pPrev;
+ }
// save pPrev location and see what direction to go
*pPrev = pCur;
nRes = pCur->Compare( pFind );