summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxvar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basic/source/sbx/sbxvar.cxx')
-rw-r--r--basic/source/sbx/sbxvar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/basic/source/sbx/sbxvar.cxx b/basic/source/sbx/sbxvar.cxx
index 3172cf5f686e..3759da581907 100644
--- a/basic/source/sbx/sbxvar.cxx
+++ b/basic/source/sbx/sbxvar.cxx
@@ -453,7 +453,6 @@ void SbxVariable::ClearComListener()
bool SbxVariable::LoadData( SvStream& rStrm, sal_uInt16 nVer )
{
- sal_uInt16 nType;
sal_uInt8 cMark;
rStrm.ReadUChar( cMark );
if( cMark == 0xFF )
@@ -470,6 +469,7 @@ bool SbxVariable::LoadData( SvStream& rStrm, sal_uInt16 nVer )
}
else
{
+ sal_uInt16 nType;
rStrm.SeekRel( -1 );
rStrm.ReadUInt16( nType );
maName = read_uInt16_lenPrefixed_uInt8s_ToOUString(rStrm,