summaryrefslogtreecommitdiff
path: root/sfx2/source/menu/thessubmenu.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-21 08:38:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-21 14:25:44 +0000
commit42eb8d310c15e05fc224c9b7a61fdf4bf3118f70 (patch)
tree2269bc77bed95fd458d55f9d2da01e2aa8a8723a /sfx2/source/menu/thessubmenu.cxx
parent4bb264574a9136ae39e5557b080d3f49a853ce6e (diff)
unwrap ifdefs with unused members
Diffstat (limited to 'sfx2/source/menu/thessubmenu.cxx')
-rw-r--r--sfx2/source/menu/thessubmenu.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sfx2/source/menu/thessubmenu.cxx b/sfx2/source/menu/thessubmenu.cxx
index 318b287173f7..1bda672e3610 100644
--- a/sfx2/source/menu/thessubmenu.cxx
+++ b/sfx2/source/menu/thessubmenu.cxx
@@ -53,9 +53,10 @@ using ::rtl::OUString;
// STATIC DATA -----------------------------------------------------------
-SFX_IMPL_MENU_CONTROL(SfxThesSubMenuControl, SfxStringItem);
-
-
+SfxMenuControl* SfxThesSubMenuControl::CreateImpl( sal_uInt16 nId, Menu &rMenu, SfxBindings &rBindings )
+{
+ return new SfxThesSubMenuControl(nId, rMenu, rBindings);
+}
/*
Constructor; sets the Select-Handler for the Menu and inserts it into