summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-11-24 13:38:32 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-11-24 16:35:58 +0000
commit49bbd88605cf4106773c35f3c0d81068fd2b3394 (patch)
tree832e4e29ef380aea18b92a952689d0f3706a709d /include
parent80a60371b3fbdfff01a0e59a56a53da9587f9b14 (diff)
show that GetImageManager never has a NULL module
and remove resulting dead branches Change-Id: I969c943b9ff7e56d22efb4eff5bee644f9792676
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/imgmgr.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/sfx2/imgmgr.hxx b/include/sfx2/imgmgr.hxx
index 0804cf1e65bc..779885212d43 100644
--- a/include/sfx2/imgmgr.hxx
+++ b/include/sfx2/imgmgr.hxx
@@ -34,10 +34,10 @@ class SFX2_DLLPUBLIC SfxImageManager
SfxImageManager_Impl* pImp;
public:
- static SfxImageManager* GetImageManager( SfxModule* );
+ static SfxImageManager* GetImageManager(SfxModule&);
- SfxImageManager( SfxModule* pModule = 0 );
- ~SfxImageManager();
+ SfxImageManager(SfxModule& rModule);
+ ~SfxImageManager();
void RegisterToolBox( ToolBox *pBox, sal_uInt16 nFlags=0xFFFF);
void ReleaseToolBox( ToolBox *pBox );