diff options
author | Carsten Driesner <cd@openoffice.org> | 2002-08-01 10:32:19 +0000 |
---|---|---|
committer | Carsten Driesner <cd@openoffice.org> | 2002-08-01 10:32:19 +0000 |
commit | 652c8c4e0c77e86687bf2e79193d9f45a5d8b3e3 (patch) | |
tree | 6ffb8a47686969611f584826b22afc214204b685 /sfx2 | |
parent | 9fb54d4008707a5fb4ea288cca824cd89a056b54 (diff) |
#101859# Initialize variable to avoid random access to images
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/imagemgr.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/imagemgr.cxx b/sfx2/source/appl/imagemgr.cxx index 88e704e189fd..728fc4f0dc0d 100644 --- a/sfx2/source/appl/imagemgr.cxx +++ b/sfx2/source/appl/imagemgr.cxx @@ -2,9 +2,9 @@ * * $RCSfile: imagemgr.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: cd $ $Date: 2002-04-11 11:39:44 $ + * last change: $Author: cd $ $Date: 2002-08-01 11:32:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -127,7 +127,7 @@ Image SAL_CALL GetImage( ::com::sun::star::uno::Reference< ::com::sun::star::fra } } - USHORT nId; + USHORT nId = 0; if ( nProtocol == INET_PROT_UNO ) { SfxSlotPool& rPool = SFX_APP()->GetSlotPool( pViewFrame ); |