summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/graphsh.cxx
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2014-04-18 15:17:25 +0200
committerJan Holesovsky <kendy@collabora.com>2014-04-18 22:49:27 +0200
commit7acb27081c6da9fc0ae64f4d145d8744c81d4b0a (patch)
tree93d32031ef3a32153b9917600e4ea862321c3ff1 /sc/source/ui/drawfunc/graphsh.cxx
parent2be92a9d4e5255963af5261c7511003626831be9 (diff)
sfx2: Kill SFX_OBJECTBAR_REGISTRATION macro.
Change-Id: Ic80e9bebba8c7e76a0400769a2f9d75301227194
Diffstat (limited to 'sc/source/ui/drawfunc/graphsh.cxx')
-rw-r--r--sc/source/ui/drawfunc/graphsh.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/drawfunc/graphsh.cxx b/sc/source/ui/drawfunc/graphsh.cxx
index 82602d9000f0..778c90fc2673 100644
--- a/sc/source/ui/drawfunc/graphsh.cxx
+++ b/sc/source/ui/drawfunc/graphsh.cxx
@@ -66,8 +66,9 @@ public:
SFX_IMPL_INTERFACE(ScGraphicShell, ScDrawShell, ScResId(SCSTR_GRAPHICSHELL) )
{
- SFX_OBJECTBAR_REGISTRATION( SFX_OBJECTBAR_OBJECT|SFX_VISIBILITY_STANDARD|SFX_VISIBILITY_SERVER,
- ScResId(RID_GRAPHIC_OBJECTBAR) );
+ GetStaticInterface()->RegisterObjectBar(SFX_OBJECTBAR_OBJECT|SFX_VISIBILITY_STANDARD|SFX_VISIBILITY_SERVER,
+ ScResId(RID_GRAPHIC_OBJECTBAR));
+
SFX_POPUPMENU_REGISTRATION( ScResId(RID_POPUP_GRAPHIC) );
}