summaryrefslogtreecommitdiff
path: root/vcl/source/treelist/imap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/treelist/imap.cxx')
-rw-r--r--vcl/source/treelist/imap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/treelist/imap.cxx b/vcl/source/treelist/imap.cxx
index b2e5989a94b0..474b8be723a4 100644
--- a/vcl/source/treelist/imap.cxx
+++ b/vcl/source/treelist/imap.cxx
@@ -956,7 +956,6 @@ void ImageMap::Read( SvStream& rIStm )
{
char cMagic[6];
SvStreamEndian nOldFormat = rIStm.GetEndian();
- sal_uInt16 nCount;
rIStm.SetEndian( SvStreamEndian::LITTLE );
rIStm.ReadBytes(cMagic, sizeof(cMagic));
@@ -964,6 +963,7 @@ void ImageMap::Read( SvStream& rIStm )
if ( !memcmp( cMagic, IMAPMAGIC, sizeof( cMagic ) ) )
{
IMapCompat* pCompat;
+ sal_uInt16 nCount;
// delete old content
ClearImageMap();