diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-05-17 21:11:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-05-20 15:23:08 +0100 |
commit | b921e409d852964f90c12734656028abfb489a18 (patch) | |
tree | 883f1b9240ffc87a0ee89b9967a9f125e65a0356 /sfx2/source/inc | |
parent | 215d07647213e3923ae19cc39bfa7309733849e6 (diff) |
use non-leaky singleton pattern
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r-- | sfx2/source/inc/sfxpicklist.hxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sfx2/source/inc/sfxpicklist.hxx b/sfx2/source/inc/sfxpicklist.hxx index 9a6723ad6b75..2ac9d8b2d2c5 100644 --- a/sfx2/source/inc/sfxpicklist.hxx +++ b/sfx2/source/inc/sfxpicklist.hxx @@ -67,9 +67,7 @@ class SfxPickList : public SfxListener void RemovePickListEntries(); public: - static SfxPickList& GetOrCreate( const sal_uInt32 nMenuSize ); static SfxPickList& Get(); - static void Delete(); sal_uInt32 GetAllowedMenuSize() { return m_nAllowedMenuSize; } sal_uInt32 GetNumOfEntries() const { return m_aPicklistVector.size(); } |