diff options
author | Mathias Bauer <mba@openoffice.org> | 2001-06-11 07:32:56 +0000 |
---|---|---|
committer | Mathias Bauer <mba@openoffice.org> | 2001-06-11 07:32:56 +0000 |
commit | afefa4b33253c0f8963c0857cb5ec6387b6e0ed3 (patch) | |
tree | d6e26d178ba25cdf5126a182ed52839914428db8 /sc/source/ui/cctrl | |
parent | f46dbfe9115bc47c4e90b4d652410f8ee3d4a93a (diff) |
#87722#: no global access for ImageManager
Diffstat (limited to 'sc/source/ui/cctrl')
-rw-r--r-- | sc/source/ui/cctrl/tbinsert.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/cctrl/tbinsert.cxx b/sc/source/ui/cctrl/tbinsert.cxx index d6f41d05476d..a97ed2e90105 100644 --- a/sc/source/ui/cctrl/tbinsert.cxx +++ b/sc/source/ui/cctrl/tbinsert.cxx @@ -2,9 +2,9 @@ * * $RCSfile: tbinsert.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2000-09-22 18:47:00 $ + * last change: $Author: mba $ $Date: 2001-06-11 08:29:22 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -115,7 +115,7 @@ void __EXPORT ScTbxInsertCtrl::StateChanged( USHORT nSID, SfxItemState eState, { nLastSlotId = pItem->GetValue(); USHORT nImageId = nLastSlotId ? nLastSlotId : GetId(); - Image aImage = SFX_IMAGEMANAGER()->GetImage( nImageId, SC_MOD() ); + Image aImage = GetBindings().GetImageManager()->GetImage( nImageId, SC_MOD() ); GetToolBox().SetItemImage(GetId(), aImage); } } |