From 83078214196b071cf1d8e5796803b6ebc1bc9de4 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Tue, 25 Nov 2014 10:12:55 +0000 Subject: We now only need one bit of information here whether there *is* an id, or whether there is not an id. An id of 0 seems to be used as a flag that an interface is some sort of superclass which can be subclassed by something else and have its toolbars etc reused. Convert this to a bool so we don't need an a resource id for each one and just drop the third arg for the normal "final" case and use a different define for the inheritable case Change-Id: I98380f03d73d57bf8cba02d339097e384518abaa --- sd/source/ui/view/MediaObjectBar.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/source/ui/view/MediaObjectBar.cxx') diff --git a/sd/source/ui/view/MediaObjectBar.cxx b/sd/source/ui/view/MediaObjectBar.cxx index 5d904cefba0b..b688312f5277 100644 --- a/sd/source/ui/view/MediaObjectBar.cxx +++ b/sd/source/ui/view/MediaObjectBar.cxx @@ -52,7 +52,7 @@ namespace sd { TYPEINIT1( MediaObjectBar, SfxShell ); -SFX_IMPL_INTERFACE(MediaObjectBar, SfxShell, SdResId(STR_MEDIAOBJECTBARSHELL)) +SFX_IMPL_INTERFACE(MediaObjectBar, SfxShell) void MediaObjectBar::InitInterface_Impl() { -- cgit