summaryrefslogtreecommitdiff
path: root/sc/source/ui/cctrl
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2001-06-11 07:32:56 +0000
committerMathias Bauer <mba@openoffice.org>2001-06-11 07:32:56 +0000
commitafefa4b33253c0f8963c0857cb5ec6387b6e0ed3 (patch)
treed6e26d178ba25cdf5126a182ed52839914428db8 /sc/source/ui/cctrl
parentf46dbfe9115bc47c4e90b4d652410f8ee3d4a93a (diff)
#87722#: no global access for ImageManager
Diffstat (limited to 'sc/source/ui/cctrl')
-rw-r--r--sc/source/ui/cctrl/tbinsert.cxx6
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);
}
}