summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-25 10:12:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-25 14:54:02 +0000
commit83078214196b071cf1d8e5796803b6ebc1bc9de4 (patch)
treedffa5b67e5ad6c95341c2f6b97dcc6f6de8c7155 /starmath
parentf676e9a604bed14865e5c9a277fda0d7b564085d (diff)
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
Diffstat (limited to 'starmath')
-rw-r--r--starmath/source/document.cxx2
-rw-r--r--starmath/source/smmod.cxx2
-rw-r--r--starmath/source/view.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 0282214c8b32..4b460aee957b 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -107,7 +107,7 @@ using namespace ::com::sun::star::uno;
TYPEINIT1( SmDocShell, SfxObjectShell );
-SFX_IMPL_INTERFACE(SmDocShell, SfxObjectShell, SmResId(0))
+SFX_IMPL_SUPERCLASS_INTERFACE(SmDocShell, SfxObjectShell)
void SmDocShell::InitInterface_Impl()
{
diff --git a/starmath/source/smmod.cxx b/starmath/source/smmod.cxx
index a214af390cb3..7373ae6089d5 100644
--- a/starmath/source/smmod.cxx
+++ b/starmath/source/smmod.cxx
@@ -155,7 +155,7 @@ const OUString SmLocalizedSymbolData::GetExportSymbolSetName( const OUString &rU
return aRes;
}
-SFX_IMPL_INTERFACE(SmModule, SfxModule, SmResId(RID_APPLICATION))
+SFX_IMPL_INTERFACE(SmModule, SfxModule)
void SmModule::InitInterface_Impl()
{
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index d4fe21ec1442..12e67f9b25da 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -929,7 +929,7 @@ struct SmViewShell_Impl
TYPEINIT1( SmViewShell, SfxViewShell );
-SFX_IMPL_INTERFACE(SmViewShell, SfxViewShell, SmResId(0))
+SFX_IMPL_SUPERCLASS_INTERFACE(SmViewShell, SfxViewShell)
void SmViewShell::InitInterface_Impl()
{