diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-02-13 20:40:20 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-02-13 20:56:39 +0100 |
commit | 42f03b75682b1fa8b89df2e89d05f66ce32afad3 (patch) | |
tree | 0d5692c8f6c4fb78ee49f527a26a53af9c5a245c /tools | |
parent | a5ad4e7459b8cbb76478fd7fd621cd96853e67af (diff) |
Reduce scope
Change-Id: I6bdff92cee194d79af98227d48c68304ee56593b
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/stream/stream.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index 68c9dc9f7ac5..9516581e5cac 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -417,9 +417,8 @@ SvStream::SvStream( SvLockBytes* pLockBytesP ) ImpInit(); xLockBytes = pLockBytesP; - const SvStream* pStrm; if( pLockBytesP ) { - pStrm = pLockBytesP->GetStream(); + const SvStream* pStrm = pLockBytesP->GetStream(); if( pStrm ) { SetError( pStrm->GetErrorCode() ); } |