diff options
Diffstat (limited to 'basic/source/comp')
-rw-r--r-- | basic/source/comp/buffer.cxx | 2 | ||||
-rw-r--r-- | basic/source/comp/dim.cxx | 2 | ||||
-rw-r--r-- | basic/source/comp/parser.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/basic/source/comp/buffer.cxx b/basic/source/comp/buffer.cxx index 7b8feaa36165..4e28d3c8a00b 100644 --- a/basic/source/comp/buffer.cxx +++ b/basic/source/comp/buffer.cxx @@ -132,7 +132,7 @@ void SbiBuffer::Chain( sal_uInt32 off ) { ip = reinterpret_cast<sal_uInt8*>(pBuf.get()) + i; sal_uInt8* pTmp = ip; - i = *pTmp++; i |= *pTmp++ << 8; i |= *pTmp++ << 16; i |= *pTmp++ << 24; + i = *pTmp++; i |= *pTmp++ << 8; i |= *pTmp++ << 16; i |= *pTmp++ << 24; if( i >= nOff ) { diff --git a/basic/source/comp/dim.cxx b/basic/source/comp/dim.cxx index dc6bf5260448..e209114aabf1 100644 --- a/basic/source/comp/dim.cxx +++ b/basic/source/comp/dim.cxx @@ -216,7 +216,7 @@ void SbiParser::DefVar( SbiOpcode eOp, bool bStatic ) } // behavior in VBA is that a module scope variable's lifetime is // tied to the document. e.g. a module scope variable is global - if( GetBasic()->IsDocBasic() && bVBASupportOn && !pProc ) + if( GetBasic()->IsDocBasic() && bVBASupportOn && !pProc ) bPersistentGlobal = true; // PRIVATE is a synonymous for DIM // _CONST_? diff --git a/basic/source/comp/parser.cxx b/basic/source/comp/parser.cxx index 44eb2efcbc2f..b7a09c7ce739 100644 --- a/basic/source/comp/parser.cxx +++ b/basic/source/comp/parser.cxx @@ -398,7 +398,7 @@ bool SbiParser::Parse() Next(); Push( eCurTok ); aGen.Statement(); - Symbol(nullptr); + Symbol(nullptr); } } else |