diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-15 20:34:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-02-16 08:54:22 +0000 |
commit | d75e2358b2fa8d6ec8141dfd281d83557168a5ce (patch) | |
tree | e4fbea360d38655fcfc3cc57e9aac1930b67e79d /sw/source/uibase/inc/unotools.hxx | |
parent | 30e81b8c7ee38f4ca938502f2bc61c7414129f1a (diff) |
MenuResource just wraps a ResStringArray, use ResStringArray directly
Change-Id: I1e263a8a17500f177a6aeb9bd0a12f4dd25298f2
Diffstat (limited to 'sw/source/uibase/inc/unotools.hxx')
-rw-r--r-- | sw/source/uibase/inc/unotools.hxx | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sw/source/uibase/inc/unotools.hxx b/sw/source/uibase/inc/unotools.hxx index c3c48705e969..96fc313ca617 100644 --- a/sw/source/uibase/inc/unotools.hxx +++ b/sw/source/uibase/inc/unotools.hxx @@ -45,16 +45,6 @@ public: virtual void Resize() override; }; -class MenuResource : public Resource -{ - ResStringArray aMenuArray; - -public: - MenuResource(const ResId& rResId); - - ResStringArray& GetMenuArray() {return aMenuArray;} -}; - #define EX_SHOW_ONLINE_LAYOUT 0x001 // hard zoom value @@ -75,7 +65,7 @@ class SW_DLLPUBLIC SwOneExampleFrame Idle aLoadedIdle; Link<SwOneExampleFrame&,void> aInitializedLink; - MenuResource aMenuRes; + ResStringArray aMenuRes; OUString sArgumentURL; SwView* pModuleView; |