summaryrefslogtreecommitdiff
path: root/sfx2/source/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-05-08 15:27:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-05-08 15:28:11 +0100
commitf17d55e5495859b2a78ed625fc2573391e26cdf1 (patch)
treee0db4b1241b431df64fd4d29d084fb330447caa6 /sfx2/source/inc
parent946049692eff89f0571983df8f0362399d2dd656 (diff)
fold SfxPickList::Get and ::ensure together
Change-Id: Iab68095a9733393b656623ddd6bb8705f7cfda82
Diffstat (limited to 'sfx2/source/inc')
-rw-r--r--sfx2/source/inc/sfxpicklist.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/inc/sfxpicklist.hxx b/sfx2/source/inc/sfxpicklist.hxx
index e77d6ed69c17..b1e86b084f75 100644
--- a/sfx2/source/inc/sfxpicklist.hxx
+++ b/sfx2/source/inc/sfxpicklist.hxx
@@ -45,8 +45,7 @@ class SfxPickList : public SfxListener
static void AddDocumentToPickList( SfxObjectShell* pDocShell );
public:
- static SfxPickList& Get();
- static void ensure() { Get(); }
+ static void ensure();
virtual void Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
};